Skip to content

Multiple Entity codes in a row not supported in flowchart #5153

Open
@yoavst

Description

Description

For flowcharts, multiple Entity codes in a row (or entity code and then a non-space character) seems to work in normal strings, but not in markdown strings.

Steps to reproduce

Normal strings:

flowchart TD
  N1(["#lt;#116;"])
flowchart TD
  N1(["#lt;t"])

both produce the expected behavior of the text "<t"

markdown strings

flowchart TD
  N1(["`#lt;#116;`"])
flowchart TD
  N1(["`#lt;t`"])

both produce empty text for the node

Setup

  • Mermaid version: 10.6.1 on mermaid.live
  • Browser and Version: Chrome 120

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