docgen: syntax blocks don't actually run the code

This commit is contained in:
Andrew Kelley committed 2021-09-01 17:54:07 -07:00
1 parent f5553bfefc
commit f4d3d29f92
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}