Skip to content

Commit

Permalink
Enable HTML tags to make Mermaid render dotted lines
Browse files Browse the repository at this point in the history
Flowcharts appear to be missing styles if HTML tags are disabled
for flowchart labels. They appear to disabled because some browsers
(mermaid-js/mermaid#303) may omit labels
if they are present, but in testing with Microsoft Edge this
doesn't appear to be an issue now.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60869
  • Loading branch information
stanhu committed Apr 26, 2019
1 parent 265b789 commit 916d0a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function renderMermaid($els) {
// mermaidAPI options
theme: 'neutral',
flowchart: {
htmlLabels: false,
htmlLabels: true,
},
});

Expand Down
5 changes: 5 additions & 0 deletions changelogs/unreleased/sh-fix-mermaid-flowchart-rendering.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Enable HTML tags to make Mermaid render dotted lines
merge_request: 27770
author:
type: fixed

0 comments on commit 916d0a7

Please sign in to comment.