mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
docgen: syntax blocks don't actually run the code
This commit is contained in:
parent
f5553bfefc
commit
f4d3d29f92
1 changed files with 1 additions and 1 deletions
|
|
@ -1100,7 +1100,7 @@ fn genHtml(
|
|||
try tokenizeAndPrint(allocator, tokenizer, out, code.source_token);
|
||||
try out.writeAll("</pre>");
|
||||
|
||||
if (!do_code_tests) {
|
||||
if (!do_code_tests or code.is_inline) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue