summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-07-23 06:42:42 -0700
committerStan Hu <stanhu@gmail.com>2019-07-23 11:40:09 -0700
commite1219ad44e553f3472faddce559ea9f92f64240e (patch)
tree42bd619dcb16da75dbc54e836d94dfad0d63d04e /app
parentb5cc47bda6cefc1aa75e9e388f656609246ca326 (diff)
downloadgitlab-ce-e1219ad44e553f3472faddce559ea9f92f64240e.tar.gz
Update Mermaid to v8.2.3sh-update-mermaid
This fixes fill colors not working with Mermaid and pulls in a number of other fixes. * https://github.com/knsv/mermaid/blob/master/CHANGELOG.md * https://github.com/knsv/mermaid/#special-note-regarding-version-82 Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64601
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/behaviors/markdown/render_mermaid.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/behaviors/markdown/render_mermaid.js b/app/assets/javascripts/behaviors/markdown/render_mermaid.js
index dbc28beffbe..27708504791 100644
--- a/app/assets/javascripts/behaviors/markdown/render_mermaid.js
+++ b/app/assets/javascripts/behaviors/markdown/render_mermaid.js
@@ -33,6 +33,7 @@ export default function renderMermaid($els) {
flowchart: {
htmlLabels: false,
},
+ securityLevel: 'strict',
});
$els.each((i, el) => {