From a1ae29cdcdcd3bc7c658477a7712eaf2c86b25f0 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Tue, 1 Jul 2025 15:50:24 -0400 Subject: [PATCH] Suppress mermaid error rendering (#5308) --- webview-ui/src/components/common/MermaidBlock.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/webview-ui/src/components/common/MermaidBlock.tsx b/webview-ui/src/components/common/MermaidBlock.tsx index 229b957765..95c795fdc5 100644 --- a/webview-ui/src/components/common/MermaidBlock.tsx +++ b/webview-ui/src/components/common/MermaidBlock.tsx @@ -46,6 +46,7 @@ mermaid.initialize({ startOnLoad: false, securityLevel: "loose", theme: "dark", + suppressErrorRendering: true, themeVariables: { ...MERMAID_THEME, fontSize: "16px",