1
0
mirror of https://github.com/mermaid-js/mermaid.git synced 2025-03-11 07:53:10 +08:00

16 lines
329 B
HTML
Raw Normal View History

2022-04-21 21:11:48 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
</head>
<body>
<div class="mermaid">
graph TD
A --&gt; B["&lt;a href='javascript#9;t#colon;alert(document.location)'&gt;AAA&lt;/a&gt;"]
</div>
<script src="./mermaid.js"></script>
<script>mermaid.initialize({ startOnLoad: true });
</script>
</body>
</html>