mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
16 lines
329 B
HTML
16 lines
329 B
HTML
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
</head>
|
|
<body>
|
|
<div class="mermaid">
|
|
graph TD
|
|
A --> B["<a href='javascript#9;t#colon;alert(document.location)'>AAA</a>"]
|
|
</div>
|
|
<script src="./mermaid.js"></script>
|
|
<script>mermaid.initialize({ startOnLoad: true });
|
|
</script>
|
|
</body>
|
|
</html> |