You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I import mermaid and try to use the parse() method from mermaid.mermaidAPI.parse() in the backend, I get an error that the DOM is not sanitized. Is there a way to use this method or the parser.yy property in the backend? I am using mermaid 9.0.0 in typescript.
Steps to reproduce
Use mermaid.mermaidAPI.parse().parser.yy in the backend of a project
Screenshots
No response
Code Sample
No response
Setup
Desktop
OS and Version: [Windows, Linux, Mac, ...]
Browser and Version: [Chrome, Edge, Firefox]
Smartphone
Device: [Samsung, iPhone, ...]
OS and Version: [Android, iOS, ...]
Browser and Version: [Chrome, Safari, ...]
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Description
When I import mermaid and try to use the parse() method from mermaid.mermaidAPI.parse() in the backend, I get an error that the DOM is not sanitized. Is there a way to use this method or the parser.yy property in the backend? I am using mermaid 9.0.0 in typescript.
Steps to reproduce
Screenshots
No response
Code Sample
No response
Setup
Desktop
Smartphone
Additional Context
No response
The text was updated successfully, but these errors were encountered: