Mermaid
Mermaid copied to clipboard
erDiagram not showing if an entity name has an underscore in it
Setup and configuration
- Mermaid version:3.0.1
- MediaWiki version:1.36.2
- PHP version:7.4.20 (cgi-fcgi)
- Database system (MySQL, PostgresQL, etc.) and version:MySQL 5.7.29-log
Issue
If an entity name has an underscore in it, the diagram won't display. According to https://mermaid-js.github.io/mermaid/#/entityRelationshipDiagram underscores are allowed in entity names.
Example: https://sandbox.semantic-mediawiki.org/wiki/Utilisateur:Tenbergen/mermaid_ER_Diagram_underscore_in_entity_name_breaks_graph