From e192454f5474d0f911dbbf88335d8b26d4e7b742 Mon Sep 17 00:00:00 2001 From: Jan Verbeek Date: Wed, 18 Sep 2019 13:05:08 +0200 Subject: [PATCH] Correctly document htmlLabels as true by default The "mermaidAPI configuration defaults" section in the documentation listed `htmlLabels` as `false`, but the real default is `true`, as seen in the code and elsewhere in the documentation. --- docs/mermaidAPI.md | 2 +- src/mermaidAPI.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/mermaidAPI.md b/docs/mermaidAPI.md index 769bc79e9..59aafba4f 100644 --- a/docs/mermaidAPI.md +++ b/docs/mermaidAPI.md @@ -280,7 +280,7 @@ mermaidAPI.initialize({ arrowMarkerAbsolute:false, flowchart:{ - htmlLabels:false, + htmlLabels:true, curve:'linear', }, sequence:{ diff --git a/src/mermaidAPI.js b/src/mermaidAPI.js index 855d16b7f..baa08b0e0 100644 --- a/src/mermaidAPI.js +++ b/src/mermaidAPI.js @@ -647,7 +647,7 @@ export default mermaidAPI; * arrowMarkerAbsolute:false, * * flowchart:{ - * htmlLabels:false, + * htmlLabels:true, * curve:'linear', * }, * sequence:{