diff --git a/packages/bundle/src/markdown/renderMarkdown.ts b/packages/bundle/src/markdown/renderMarkdown.ts index d64b5ea276..ade29c2c16 100644 --- a/packages/bundle/src/markdown/renderMarkdown.ts +++ b/packages/bundle/src/markdown/renderMarkdown.ts @@ -93,6 +93,7 @@ export default function render( return decoration; }; + const htmlAfterMarkdown = micromark(markdown, { allowDangerousHtml: markdownRenderHTML ?? true, // We need to handle links like cite:1 or other URL handlers.