Skip to content

Commit a1ae29c

Browse files
authored
Suppress mermaid error rendering (RooCodeInc#5308)
1 parent 0ee3680 commit a1ae29c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webview-ui/src/components/common/MermaidBlock.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ mermaid.initialize({
4646
startOnLoad: false,
4747
securityLevel: "loose",
4848
theme: "dark",
49+
suppressErrorRendering: true,
4950
themeVariables: {
5051
...MERMAID_THEME,
5152
fontSize: "16px",

0 commit comments

Comments
 (0)