mermaid-js / mermaid-live-editor

Edit, preview and share mermaid charts/diagrams. New implementation of the live editor.
https://mermaid.live
MIT License
4.13k stars 626 forks source link

Class diagramm: giving the namespace a specific name just like I do with classes #1452

Open lightningRalf opened 4 months ago

lightningRalf commented 4 months ago

Describe the bug When naming a namespace with

To Reproduce Link to Live Editor Steps to reproduce the behavior:

  1. Click on 'Live Editor'
  2. See error

Expected behavior seeing "Regierung von Mittelfranken" instead of 'Bereich4' (when I dont use the ["Regierung von Mittelfranken"] marker.

Screenshots Error parsing Mermaid diagram!

Parse error on line 7: ... namespace Bereich4["Regierung von Mitt -----------------------^ Expecting 'STRUCT_START', 'MINUS', 'UNICODE_TEXT', 'NUM', 'ALPHA', got 'SQS'

Desktop (please complete the following information):

Thanks in advance