Apply all scannability transforms to the rendered article body HTML.
Inline transforms (confidence โ admiralty โ timeline) are applied first. Progressive disclosure is deliberately excluded here because it wraps <h2> sections in <details> wrappers โ if splitBodyAtSecondH2() runs after this transform it may split inside a wrapper, producing malformed HTML. Callers should apply transformProgressiveDisclosure to the "rest" chunk after splitting.
TOC and methodology footer are returned separately for template placement.
Apply all scannability transforms to the rendered article body HTML.
Inline transforms (confidence โ admiralty โ timeline) are applied first. Progressive disclosure is deliberately excluded here because it wraps
<h2>sections in<details>wrappers โ ifsplitBodyAtSecondH2()runs after this transform it may split inside a wrapper, producing malformed HTML. Callers should apply transformProgressiveDisclosure to the "rest" chunk after splitting.TOC and methodology footer are returned separately for template placement.