mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 23:52:31 +00:00
docs: fix duplicate closing tag generation
This commit is contained in:
parent
71354498c9
commit
cb96a096cb
@ -1427,10 +1427,7 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var
|
||||
}
|
||||
const escaped_stderr = try escapeHtml(allocator, result.stderr);
|
||||
const colored_stderr = try termColor(allocator, escaped_stderr);
|
||||
try out.print("\n{}\n", colored_stderr);
|
||||
if (!code.is_inline) {
|
||||
try out.print("</code></pre>\n");
|
||||
}
|
||||
try out.print("\n{}", colored_stderr);
|
||||
} else {
|
||||
_ = exec(allocator, &env_map, build_args.toSliceConst()) catch return parseError(tokenizer, code.source_token, "example failed to compile");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user