mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-07 16:19:38 +02:00
#2177 Jets upgrade
This commit is contained in:
@@ -30,6 +30,7 @@ if (location.href.match('test-html-escaping')) {
|
||||
code = code3;
|
||||
}
|
||||
|
||||
|
||||
mermaid.initialize({
|
||||
theme: 'default',
|
||||
// fontFamily: '"Lucida Console", Monaco, monospace',
|
||||
|
@@ -65,9 +65,12 @@ stateDiagram-v2
|
||||
}
|
||||
|
||||
</div>
|
||||
javascript:alert('XSS')
|
||||
<div class="mermaid" style="width: 100%; height: 20%;">
|
||||
flowchart TD
|
||||
A("https://iconscout.com/ms-icon-310x310.png") --> B(<b>Bold text!</b>)
|
||||
Link --> b
|
||||
click Link href "javascript:alert('XSS')" "Tooltip for
|
||||
Amet"
|
||||
</div>
|
||||
<div class="mermaid2" style="width: 100%; height: 20%;">
|
||||
stateDiagram-v2
|
||||
|
Reference in New Issue
Block a user