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

A <br> tail in note string will cause syntax error #4471

Closed
xenkuo opened this issue Jun 9, 2023 · 2 comments
Closed

A <br> tail in note string will cause syntax error #4471

xenkuo opened this issue Jun 9, 2023 · 2 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@xenkuo
Copy link

xenkuo commented Jun 9, 2023

Description

With latest mermaid version(v10.2.2) in live editor, using sequence diagram, if there's a <br> at the end of "Note" line, then the render will fail and no useful error message output.

Steps to reproduce

Just try below sample in live editor:

sequenceDiagram

participant A as application

Note over A: xx<br>

Screenshots

No response

Code Sample

sequenceDiagram

participant A as application

Note over A: xx<br>

Setup

  • Mermaid version: v10.2.2
  • Browser and Version: [Chrome, Edge, Firefox]: edge with version 114.0.1823.37

Additional Context

No response

@xenkuo xenkuo added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Jun 9, 2023
@luin
Copy link
Contributor

luin commented Jun 12, 2023

Hi @xenkuo , this should be resolved in 10.2.3 with #4436.

@xenkuo
Copy link
Author

xenkuo commented Jun 17, 2023

thanks @luin

@xenkuo xenkuo closed this as completed Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

2 participants