mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
Fix securityLevel documentation
Instead of boolean values, only `strict` and `loose` should be used.
This commit is contained in:
parent
056f321ee6
commit
527aea9264
@ -8,8 +8,8 @@
|
|||||||
|
|
||||||
In version 8.2 a security improvement was introduced. A securityLevel configuration was introduced which sets the level of trust to be used on the parsed diagrams.
|
In version 8.2 a security improvement was introduced. A securityLevel configuration was introduced which sets the level of trust to be used on the parsed diagrams.
|
||||||
|
|
||||||
* **true**: (default) tags in text are encoded, click functionality is disabled
|
* **`strict`**: (default) tags in text are encoded, click functionality is disabled
|
||||||
* false: tags in text are allowed, click functionality is enabledClosed issues:
|
* `loose`: tags in text are allowed, click functionality is enabledClosed issues:
|
||||||
|
|
||||||
⚠️ **Note** : This changes the default behaviour of mermaid so that after upgrade to 8.2, if the securityLevel is not configured, tags in flowcharts are encoded as tags and clicking is prohibited.
|
⚠️ **Note** : This changes the default behaviour of mermaid so that after upgrade to 8.2, if the securityLevel is not configured, tags in flowcharts are encoded as tags and clicking is prohibited.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user