mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 07:50:12 +01:00
Try to fix Mermaid Diagram error: Maximum call stack size exceeded.
Thanks to xet7 !
This commit is contained in:
parent
7c0251cef5
commit
aeac6e605b
3 changed files with 5 additions and 5 deletions
6
package-lock.json
generated
6
package-lock.json
generated
|
|
@ -428,9 +428,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@wekanteam/markdown-it-mermaid": {
|
"@wekanteam/markdown-it-mermaid": {
|
||||||
"version": "0.5.6",
|
"version": "0.5.8",
|
||||||
"resolved": "https://registry.npmjs.org/@wekanteam/markdown-it-mermaid/-/markdown-it-mermaid-0.5.6.tgz",
|
"resolved": "https://registry.npmjs.org/@wekanteam/markdown-it-mermaid/-/markdown-it-mermaid-0.5.8.tgz",
|
||||||
"integrity": "sha512-jwwaecvkwYLSc1kQJtA7F3giBPu9ShiBd05SNl6mlufO+NtEz+82BxNph7qMdh7zlNbon5PArabcK1e89hB3qQ==",
|
"integrity": "sha512-9Sf/L1hZruZBGZdVp0kCW910MqaI5CVy6dARD3vrax6bH5UnlVhTzW6GJgQj0HEMBPfoENnTp6n97XXz4i8gRA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@wekanteam/cli-table3": "^0.7.7",
|
"@wekanteam/cli-table3": "^0.7.7",
|
||||||
"mermaid": "^9.1.7"
|
"mermaid": "^9.1.7"
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
"@babel/core": "^7.15.5",
|
"@babel/core": "^7.15.5",
|
||||||
"@babel/runtime": "^7.15.4",
|
"@babel/runtime": "^7.15.4",
|
||||||
"@mapbox/node-pre-gyp": "^1.0.8",
|
"@mapbox/node-pre-gyp": "^1.0.8",
|
||||||
"@wekanteam/markdown-it-mermaid": "^0.5.6",
|
"@wekanteam/markdown-it-mermaid": "^0.5.8",
|
||||||
"ajv": "^6.12.6",
|
"ajv": "^6.12.6",
|
||||||
"babel-runtime": "^6.26.0",
|
"babel-runtime": "^6.26.0",
|
||||||
"bcryptjs": "^2.4.3",
|
"bcryptjs": "^2.4.3",
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ Markdown.use(mathjax);
|
||||||
// https://www.npmjs.com/package/@wekanteam/markdown-it-mermaid
|
// https://www.npmjs.com/package/@wekanteam/markdown-it-mermaid
|
||||||
// https://github.com/wekan/markdown-it-mermaid
|
// https://github.com/wekan/markdown-it-mermaid
|
||||||
Markdown.use(markdownItMermaid,{
|
Markdown.use(markdownItMermaid,{
|
||||||
maxTextSize: 50000,
|
maxTextSize: 100000,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (Package.ui) {
|
if (Package.ui) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue