docgen: properly close tags for skipped execs

This commit is contained in:
Shritesh Bhattarai 2019-04-26 16:11:06 -05:00 committed by Andrew Kelley
parent 28071ac637
commit efc5122fb6

View File

@ -1067,6 +1067,7 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var
(builtin.os != builtin.Os.linux or builtin.arch != builtin.Arch.x86_64))
{
// skip execution
try out.print("\n$ # Skipping execution because it is non-native.</code></pre>\n");
break :code_block;
}
}