// THE HTML RENDERER — a document model, and the one place that turns it into a page. // // This module knows NOTHING about an audit. It takes a `Doc` — headings, paragraphs, notes, // tables, figures — and returns a string. Everything that decides what a criterion's status // IS lives in src/html-report.ts, which builds the `Doc`; everything that touches the disk // lives in src/html-emit.ts. The split is what lets the renderer be tested by rendering. // // Three rules hold it together: // // 1. NO MARKDOWN CONVERSION. A GFM table cannot express `