/** * Strip anything executable from a beat fragment. * * `beatToHtml` deliberately does not sanitize — it has no DOM and says so in its contract: * raw elements, `onerror=` handlers and `javascript:` urls written into a beat arrive here * verbatim. Inserting that into the host page is what makes this the place to strip them. * * There is no allow-list here on purpose. DOMPurify's defaults already keep everything the * host drives — the ``, its `data-mulmo-chart` config (data attributes are allowed * by default), the `.mermaid` container, and `