summaryrefslogtreecommitdiffhomepage
path: root/dlang/src/output_html.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2026-09-24 11:40:02 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2026-09-24 11:40:02 -0400
commit5556b2e14d3c3df5d74e669f7d542b0e526cd216 (patch)
tree6f7a98f366220a3eb29ee9dcff6eaad7f92dade6 /dlang/src/output_html.d
parentformat 2.0: the version gate (diff)
dealing with six properties including .is_of_type
--report-unknown, added in the previous commit, found a defect on its first run (rather than a gap): .is_of_type was among the properties being ignored, and it is the property that says whether an object is rendered at all. An object of type "comment" is markup commentary. The abstraction carries it so that nothing of the source is lost, and no output puts it in the document. This reader was putting it in three of four: a comment appeared in the HTML scroll, in the breadcrumbed plain text, and as an embedding chunk in the JSONL, where it would be indexed as though the author had written it into the document. Spine's own HTML for the same document has none. The decision now lives in one place, SspObject.renders(), and the three outputs ask it. Five more properties parsed while here: .section, which is an object's own section when it differs from the block it sits in; .identifier, which a non-heading carries when it has one that is not its ocn, and which now fills the same field a heading fills from its declaration line; .segment_html_is; .table_aligns, which completes the table set beside cols, widths and header; and .stow_link, which is repeatable and accumulates. That leaves twelve properties ignored across the markup document samples, down from eighteen, and each for a reason now written into the README: level bookkeeping this reader does not need, naming for segmented HTML and EPUB output it does not produce, and .attrib at one occurrence in all the samples. (assisted by Claude-Code)
Diffstat (limited to 'dlang/src/output_html.d')
0 files changed, 0 insertions, 0 deletions