Skip to content

Commit

Permalink
upgrade to mermaid 10.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ProbablePrime authored and sneakers-the-rat committed Jul 29, 2024
1 parent daf883d commit 20d2a9b
Show file tree
Hide file tree
Showing 3 changed files with 378 additions and 265 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
]
},
"dependencies": {
"mermaid": "10.6.1"
"mermaid": "10.8.0"
},
"files": [
"lib"
Expand Down
639 changes: 376 additions & 263 deletions resources/mermaid.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/MermaidParserFunction.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function parse(array $params)
'class' => $class,
'data-mermaid' => json_encode(
[
'content' => htmlspecialchars($content),
'content' => $content,
'config' => $graphConfig
]
)
Expand Down

0 comments on commit 20d2a9b

Please sign in to comment.