diff --git a/src/components/Widgets/Markdown/unified.js b/src/components/Widgets/Markdown/unified.js index 3ebd6d20..85b91a14 100644 --- a/src/components/Widgets/Markdown/unified.js +++ b/src/components/Widgets/Markdown/unified.js @@ -589,8 +589,6 @@ export const remarkToHtml = mdast => { const result = unified() .use(remarkToRehypeShortcodes, { plugins: registry.getEditorComponents() }) .use(remarkToRehype, { allowDangerousHTML: true }) - .use(rehypeRemoveEmpty) - .use(rehypeMinifyWhitespace) .runSync(mdast); const output = unified()