Skip to content

sequence diagram doesn't render if final edge ends in <br/> #6239

Open
@cdaringe

Description

Description

When I make a seq diagram, I expect it to render, but it doesn't.

Steps to reproduce

  1. Write a sequence diagram
  2. use <br/> as the text of the final edge

https://mermaid.live/edit#pako:eNo9jTsOwyAQRK-CtnaUfhUh2coN0kU0G1gblADOGorI8t2DC7ubNx_NCjY7BoSFv5WT5XugSSiapFR_0XpA5cMOQ4Me1e0lVw0dRJZIwbXhuqcGiufIBrBJR_I2YNLWelRLfvySBSxSuQPJdfKAI32WRnV2VI7L050pPXM-ePsDlOM1kg

Screenshots

No response

Code Sample

sequenceDiagram
  A->>B: hi
  B->>A: <br/>

Setup

  • Mermaid version: 11.4.0
  • Browser and Version: safari

Suggested Solutions

No response

Additional Context

No response

Metadata

Assignees

No one assigned

    Labels

    Status: TriageNeeds to be verified, categorized, etcType: Bug / ErrorSomething isn't working or is incorrect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions