/** * Helpers for rendering AI-generated HTML inside a sandboxed ``: * - {@link injectKaTeX} ensures the page can render `$...$` / `$$...$$` * even if the model didn't include KaTeX itself. * - {@link sanitizeIframeHtml} strips bare `