mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
Fix 3007 (#3028)
* fix code fences never sanitized
* fix mermaid xss
* Revert "fix mermaid xss"
This reverts commit 1ff179a1bd.
* configuable mermaid HTML label
* add locales for mermaid configuration
This commit is contained in:
@@ -199,6 +199,7 @@ class MarkdownSplitEditor extends React.Component {
|
||||
smartArrows={config.preview.smartArrows}
|
||||
breaks={config.preview.breaks}
|
||||
sanitize={config.preview.sanitize}
|
||||
mermaidHTMLLabel={config.preview.mermaidHTMLLabel}
|
||||
ref='preview'
|
||||
tabInde='0'
|
||||
value={value}
|
||||
|
||||
Reference in New Issue
Block a user