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

Share - Parsing of mermaid CodeBlock breaks on certain characters #3748

Open
alvaroc1 opened this issue Jan 16, 2023 · 3 comments
Open

Share - Parsing of mermaid CodeBlock breaks on certain characters #3748

alvaroc1 opened this issue Jan 16, 2023 · 3 comments
Assignees

Comments

@alvaroc1
Copy link
Contributor

Example: https://share.unison-lang.org/@alvaroc1/p/code/latest/namespaces/public/mermaid/main/;/terms/brokenDoc

Character:

The code produced by that Doc renders fine in the mermaid live editor.

Screenshot 2023-01-16 at 10 32 07 AM

@alvaroc1
Copy link
Contributor Author

I just realized my diagram does actually get rendered, but below the page 😬
Screenshot 2023-01-16 at 10 40 27 AM

@alvaroc1 alvaroc1 changed the title Parsing of mermaid CodeBlock breaks on certain characters Share - Parsing of mermaid CodeBlock breaks on certain characters Jan 16, 2023
@hojberg hojberg self-assigned this Jan 17, 2023
@hojberg
Copy link
Member

hojberg commented Feb 1, 2023

This seems to be broken in Mermaid when using the sandbox version (which we prefer to use):

https://jsfiddle.net/s3817cjq/8/

@hojberg
Copy link
Member

hojberg commented Feb 1, 2023

I deployed an improved error message and am tracking a ticket on Mermaid here: mermaid-js/mermaid#4050

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants