From 3b2066bcf73cbf9c8fd837d5375a9484ab2d1f2f Mon Sep 17 00:00:00 2001 From: Marcus Speight Date: Tue, 8 Oct 2024 14:19:00 +0100 Subject: [PATCH] Removed fallback markdown as it affected mindmaps --- packages/mermaid/src/rendering-util/handle-markdown-text.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/mermaid/src/rendering-util/handle-markdown-text.ts b/packages/mermaid/src/rendering-util/handle-markdown-text.ts index d623ebc268..6281752725 100644 --- a/packages/mermaid/src/rendering-util/handle-markdown-text.ts +++ b/packages/mermaid/src/rendering-util/handle-markdown-text.ts @@ -54,8 +54,6 @@ export function markdownToLines(markdown: string, config: MermaidConfig = {}): M node.tokens.forEach((contentNode) => { processNode(contentNode as MarkedToken, parentType); }); - } else { - lines[currentLine].push({ content: node.raw, type: parentType }); } }