/** * Sanitized raw HTML for the rendered Markdown view. * * GitHub READMEs lean on a small HTML vocabulary — `
` to fold a long * section, ``, `` badges, ``, a hand-written `` — and * an escape-only renderer shows all of it as source. This module re-emits an * allowlist of elements instead, and it never copies source markup into the page: * every tag is rebuilt from its parsed name plus an attribute allowlist, and * every value is escaped again with `escapeHtml`. * * Three lists, deliberately explicit: * - `BLOCK_ELEMENTS` and `PHRASING` are re-emitted with sanitized attributes. * - `SUPPRESSED` elements are dropped with their content, so an inline SVG or a * `