Skip to content

Commit 70b9953

Browse files
mapitmanCopilot
andauthored
Update main.go
Set security level in Mermaid to strict Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent bf878a6 commit 70b9953

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ func embedMermaidScript(htmlContent string) string {
422422
htmlLabels: true,
423423
curve: 'linear'
424424
},
425-
securityLevel: 'loose'
425+
securityLevel: 'strict'
426426
});
427427
`
428428
inlineScript := fmt.Sprintf("<script>%s</script><script>%s</script>", escapedMermaidJS, initScript)

0 commit comments

Comments
 (0)