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 bb6908c commit 481f213
Showing 1 changed file with 1 addition 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

0 comments on commit 481f213

Please sign in to comment.