CommonMark parser vs. HTML sanitizer: raw HTML pass-through and intra-word emphasis at the render boundary
Parser-to-HTML boundary CommonMark permits raw HTML blocks and inline HTML but delegates sanitization to downstream consumers, creating a trust boundary between the Markdown parser and the HTML sanitizer. Implementations such as commonmark.js , marked , and Pandoc differ in whether they pass raw HTML through unchanged, escape it, or strip it entirely. At the