1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-03 07:24:58 +03:00

Extension documentation rendering: small code reformat preparatory to future cleanup

This commit is contained in:
Nathanael Nerode 2022-06-04 15:11:13 -04:00
parent 44ccd5e578
commit 37e528497a

View file

@ -304,7 +304,9 @@ int DocumentationRenderer::set_body_text(wording W, OUTPUT_STREAM,
if (close_I6_position == i) WRITE(" -)");
}
if (mid_example) @<Close the previous example's text@>;
if (example_which_is_open != EDOC_FRAGMENT_ONLY) @<Handle a paragraph break@>;
if (example_which_is_open != EDOC_FRAGMENT_ONLY) {
@<Handle a paragraph break@>;
}
return example_count;
}