mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
refac
This commit is contained in:
parent
89629b8f03
commit
ec8e20af35
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue