From 527aea926421e54d272a1edc2351a261641ff099 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Sun, 21 Jul 2019 09:46:35 -0700 Subject: [PATCH] Fix securityLevel documentation Instead of boolean values, only `strict` and `loose` should be used. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 57118aec5..6f3622ddd 100644 --- a/README.md +++ b/README.md @@ -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. -* **true**: (default) tags in text are encoded, click functionality is disabled -* false: tags in text are allowed, click functionality is enabledClosed issues: +* **`strict`**: (default) tags in text are encoded, click functionality is disabled +* `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.