diff --git a/package-lock.json b/package-lock.json index 51557e89f..ef61fbf13 100644 --- a/package-lock.json +++ b/package-lock.json @@ -428,9 +428,9 @@ } }, "@wekanteam/markdown-it-mermaid": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/@wekanteam/markdown-it-mermaid/-/markdown-it-mermaid-0.5.6.tgz", - "integrity": "sha512-jwwaecvkwYLSc1kQJtA7F3giBPu9ShiBd05SNl6mlufO+NtEz+82BxNph7qMdh7zlNbon5PArabcK1e89hB3qQ==", + "version": "0.5.8", + "resolved": "https://registry.npmjs.org/@wekanteam/markdown-it-mermaid/-/markdown-it-mermaid-0.5.8.tgz", + "integrity": "sha512-9Sf/L1hZruZBGZdVp0kCW910MqaI5CVy6dARD3vrax6bH5UnlVhTzW6GJgQj0HEMBPfoENnTp6n97XXz4i8gRA==", "requires": { "@wekanteam/cli-table3": "^0.7.7", "mermaid": "^9.1.7" diff --git a/package.json b/package.json index f4efa007e..1bea18d68 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "@babel/core": "^7.15.5", "@babel/runtime": "^7.15.4", "@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", "babel-runtime": "^6.26.0", "bcryptjs": "^2.4.3", diff --git a/packages/markdown/src/template-integration.js b/packages/markdown/src/template-integration.js index 22a54b42e..391dfc7ee 100644 --- a/packages/markdown/src/template-integration.js +++ b/packages/markdown/src/template-integration.js @@ -49,7 +49,7 @@ Markdown.use(mathjax); // https://www.npmjs.com/package/@wekanteam/markdown-it-mermaid // https://github.com/wekan/markdown-it-mermaid Markdown.use(markdownItMermaid,{ - maxTextSize: 50000, + maxTextSize: 100000, }); if (Package.ui) {