Skip to content

Commit

Permalink
Merge pull request #1 from Yellow-Dog-Man/master
Browse files Browse the repository at this point in the history
upgrade to mermaid 10.8.0
  • Loading branch information
sneakers-the-rat authored Feb 16, 2024
2 parents 5031016 + 9e3feff commit bdf455d
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 bdf455d

Please sign in to comment.