gitGraph diagrams do not render in "sandbox" security mode #4985
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
gitGraph diagrams throw an error when rendering in "sandbox" mode.
Failing example with sandbox mode ON:
https://codesandbox.io/s/strange-yonath-3zfm8q?file=/src/index.js
Working example, only difference is no sandbox:
https://codesandbox.io/s/quirky-field-vpz6w2?file=/src/index.js
Steps to reproduce
Initialize mermaid with any configuration that includes:
Then try to render a gitGraph diagram.
Screenshots
No response
Code Sample
See the 2 links above
Setup
Suggested Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: