Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mermaid diagram in README.md is overflowing the call stack #251

Closed
dpilafian opened this issue Sep 12, 2023 · 1 comment
Closed

Mermaid diagram in README.md is overflowing the call stack #251

dpilafian opened this issue Sep 12, 2023 · 1 comment

Comments

@dpilafian
Copy link

Viewing the README.md file at:
https://github.com/taoqf/node-html-parser

hangs the browser in Safari and displays the following error in Chrome:

Unable to render rich display
Maximum call stack size exceeded

The error appears to be caused by two lines in the Mermaid diagram definition:

this setAttributes(Record~string, string~ attrs)

Record~string, string~ attributes

Commenting out the lines with %% enables the diagram to render without crashing.

@taoqf
Copy link
Owner

taoqf commented Sep 15, 2023

Thank you.

@taoqf taoqf closed this as completed in 42365de Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants