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:
@@ -157,5 +157,6 @@
|
||||
"Spellcheck disabled": "Spellcheck disabled",
|
||||
"Show menu bar": "Show menu bar",
|
||||
"Auto Detect": "Auto Detect",
|
||||
"Enable HTML label in mermaid flowcharts": "Enable HTML label in mermaid flowcharts ⚠ This option potentially has a risk of XSS.",
|
||||
"Wrap line in Snippet Note": "Wrap line in Snippet Note"
|
||||
}
|
||||
|
||||
@@ -213,5 +213,6 @@
|
||||
"Spellcheck disabled": "Spellcheck disabled",
|
||||
"Show menu bar": "Show menu bar",
|
||||
"Auto Detect": "Auto Detect",
|
||||
"Enable HTML label in mermaid flowcharts": "Enable HTML label in mermaid flowcharts ⚠ This option potentially has a risk of XSS.",
|
||||
"Wrap line in Snippet Note": "Wrap line in Snippet Note"
|
||||
}
|
||||
|
||||
@@ -188,5 +188,6 @@
|
||||
"New notes are tagged with the filtering tags": "New notes are tagged with the filtering tags",
|
||||
"Show menu bar": "Show menu bar",
|
||||
"Auto Detect": "Auto Detect",
|
||||
"Enable HTML label in mermaid flowcharts": "Enable HTML label in mermaid flowcharts ⚠ This option potentially has a risk of XSS.",
|
||||
"Wrap line in Snippet Note": "Wrap line in Snippet Note"
|
||||
}
|
||||
|
||||
@@ -159,5 +159,6 @@
|
||||
"Show menu bar": "Mostrar barra del menú",
|
||||
"Auto Detect": "Detección automática",
|
||||
"Snippet Default Language": "Lenguaje por defecto de los fragmentos de código",
|
||||
"Enable HTML label in mermaid flowcharts": "Enable HTML label in mermaid flowcharts ⚠ This option potentially has a risk of XSS.",
|
||||
"Wrap line in Snippet Note": "Wrap line in Snippet Note"
|
||||
}
|
||||
|
||||
@@ -161,5 +161,6 @@
|
||||
"Spellcheck disabled": "Spellcheck disabled",
|
||||
"Show menu bar": "Show menu bar",
|
||||
"Auto Detect": "Auto Detect",
|
||||
"Enable HTML label in mermaid flowcharts": "Enable HTML label in mermaid flowcharts ⚠ This option potentially has a risk of XSS.",
|
||||
"Wrap line in Snippet Note": "Wrap line in Snippet Note"
|
||||
}
|
||||
|
||||
@@ -173,5 +173,6 @@
|
||||
"Snippet prefix": "Préfixe du snippet",
|
||||
"Delete Note": "Supprimer la note",
|
||||
"New notes are tagged with the filtering tags": "Les nouvelles notes sont taggées avec les tags de filtrage",
|
||||
"Enable HTML label in mermaid flowcharts": "Enable HTML label in mermaid flowcharts ⚠ This option potentially has a risk of XSS.",
|
||||
"Wrap line in Snippet Note": "Wrap line in Snippet Note"
|
||||
}
|
||||
|
||||
@@ -181,5 +181,6 @@
|
||||
"Spellcheck disabled": "Spellcheck disabled",
|
||||
"Show menu bar": "Show menu bar",
|
||||
"Auto Detect": "Auto Detect",
|
||||
"Enable HTML label in mermaid flowcharts": "Enable HTML label in mermaid flowcharts ⚠ This option potentially has a risk of XSS.",
|
||||
"Wrap line in Snippet Note": "Wrap line in Snippet Note"
|
||||
}
|
||||
|
||||
@@ -161,5 +161,6 @@
|
||||
"Spellcheck disabled": "Spellcheck disabled",
|
||||
"Show menu bar": "Show menu bar",
|
||||
"Auto Detect": "Auto Detect",
|
||||
"Enable HTML label in mermaid flowcharts": "Enable HTML label in mermaid flowcharts ⚠ This option potentially has a risk of XSS.",
|
||||
"Wrap line in Snippet Note": "Wrap line in Snippet Note"
|
||||
}
|
||||
|
||||
@@ -220,5 +220,6 @@
|
||||
"Spellcheck disabled": "スペルチェック無効",
|
||||
"Show menu bar": "メニューバーを表示",
|
||||
"Auto Detect": "自動検出",
|
||||
"Enable HTML label in mermaid flowcharts": "mermaid flowchartでHTMLラベルを有効にする ⚠ このオプションには潜在的なXSSの危険性があります。",
|
||||
"Wrap line in Snippet Note": "行を右端で折り返す(Snippet Note)"
|
||||
}
|
||||
|
||||
@@ -164,5 +164,6 @@
|
||||
"Spellcheck disabled": "Spellcheck disabled",
|
||||
"Show menu bar": "Show menu bar",
|
||||
"Auto Detect": "Auto Detect",
|
||||
"Enable HTML label in mermaid flowcharts": "Enable HTML label in mermaid flowcharts ⚠ This option potentially has a risk of XSS.",
|
||||
"Wrap line in Snippet Note": "Wrap line in Snippet Note"
|
||||
}
|
||||
|
||||
@@ -157,5 +157,6 @@
|
||||
"Spellcheck disabled": "Spellcheck disabled",
|
||||
"Show menu bar": "Show menu bar",
|
||||
"Auto Detect": "Auto Detect",
|
||||
"Enable HTML label in mermaid flowcharts": "Enable HTML label in mermaid flowcharts ⚠ This option potentially has a risk of XSS.",
|
||||
"Wrap line in Snippet Note": "Wrap line in Snippet Note"
|
||||
}
|
||||
|
||||
@@ -166,5 +166,6 @@
|
||||
"Spellcheck disabled": "Spellcheck disabled",
|
||||
"Show menu bar": "Show menu bar",
|
||||
"Auto Detect": "Auto Detect",
|
||||
"Enable HTML label in mermaid flowcharts": "Enable HTML label in mermaid flowcharts ⚠ This option potentially has a risk of XSS.",
|
||||
"Wrap line in Snippet Note": "Wrap line in Snippet Note"
|
||||
}
|
||||
|
||||
@@ -157,5 +157,6 @@
|
||||
"Spellcheck disabled": "Spellcheck disabled",
|
||||
"Show menu bar": "Show menu bar",
|
||||
"Auto Detect": "Auto Detect",
|
||||
"Enable HTML label in mermaid flowcharts": "Enable HTML label in mermaid flowcharts ⚠ This option potentially has a risk of XSS.",
|
||||
"Wrap line in Snippet Note": "Wrap line in Snippet Note"
|
||||
}
|
||||
|
||||
@@ -156,5 +156,6 @@
|
||||
"Spellcheck disabled": "Spellcheck disabled",
|
||||
"Show menu bar": "Show menu bar",
|
||||
"Auto Detect": "Auto Detect",
|
||||
"Enable HTML label in mermaid flowcharts": "Enable HTML label in mermaid flowcharts ⚠ This option potentially has a risk of XSS.",
|
||||
"Wrap line in Snippet Note": "Wrap line in Snippet Note"
|
||||
}
|
||||
|
||||
@@ -154,5 +154,6 @@
|
||||
"Spellcheck disabled": "Spellcheck disabled",
|
||||
"Show menu bar": "Show menu bar",
|
||||
"Auto Detect": "Auto Detect",
|
||||
"Enable HTML label in mermaid flowcharts": "Enable HTML label in mermaid flowcharts ⚠ This option potentially has a risk of XSS.",
|
||||
"Wrap line in Snippet Note": "Wrap line in Snippet Note"
|
||||
}
|
||||
|
||||
@@ -156,5 +156,6 @@
|
||||
"Spellcheck disabled": "Spellcheck disabled",
|
||||
"Show menu bar": "Show menu bar",
|
||||
"Auto Detect": "Auto Detect",
|
||||
"Enable HTML label in mermaid flowcharts": "Enable HTML label in mermaid flowcharts ⚠ This option potentially has a risk of XSS.",
|
||||
"Wrap line in Snippet Note": "Wrap line in Snippet Note"
|
||||
}
|
||||
|
||||
@@ -183,5 +183,6 @@
|
||||
"Spellcheck disabled": "Spellcheck disabled",
|
||||
"Show menu bar": "Show menu bar",
|
||||
"Auto Detect": "Auto Detect",
|
||||
"Enable HTML label in mermaid flowcharts": "Enable HTML label in mermaid flowcharts ⚠ This option potentially has a risk of XSS.",
|
||||
"Wrap line in Snippet Note": "Wrap line in Snippet Note"
|
||||
}
|
||||
|
||||
@@ -156,5 +156,6 @@
|
||||
"Spellcheck disabled": "Spellcheck disabled",
|
||||
"Show menu bar": "Show menu bar",
|
||||
"Auto Detect": "Auto Detect",
|
||||
"Enable HTML label in mermaid flowcharts": "Enable HTML label in mermaid flowcharts ⚠ This option potentially has a risk of XSS.",
|
||||
"Wrap line in Snippet Note": "Wrap line in Snippet Note"
|
||||
}
|
||||
|
||||
@@ -221,5 +221,6 @@
|
||||
"Spellcheck disabled": "Spellcheck disabled",
|
||||
"Show menu bar": "Show menu bar",
|
||||
"Auto Detect": "Auto Detect",
|
||||
"Enable HTML label in mermaid flowcharts": "Enable HTML label in mermaid flowcharts ⚠ This option potentially has a risk of XSS.",
|
||||
"Wrap line in Snippet Note": "Wrap line in Snippet Note"
|
||||
}
|
||||
|
||||
@@ -165,5 +165,6 @@
|
||||
"Spellcheck disabled": "Spellcheck disabled",
|
||||
"Show menu bar": "Show menu bar",
|
||||
"Auto Detect": "Auto Detect",
|
||||
"Enable HTML label in mermaid flowcharts": "Enable HTML label in mermaid flowcharts ⚠ This option potentially has a risk of XSS.",
|
||||
"Wrap line in Snippet Note": "Wrap line in Snippet Note"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user