diff --git a/src/lib/utils/index.ts b/src/lib/utils/index.ts index 28f9682373..27d80f5c27 100644 --- a/src/lib/utils/index.ts +++ b/src/lib/utils/index.ts @@ -1927,7 +1927,8 @@ export const initMermaid = async () => { mermaid.initialize({ startOnLoad: false, // Should be false when using render API theme: document.documentElement.classList.contains('dark') ? 'dark' : 'default', - securityLevel: 'loose' + securityLevel: 'loose', + htmlLabels: false }); return mermaid; };