Skip to content

Draw.io shows space as #32 when importing Mermaid #4993

@joshuawhite929

Description

@joshuawhite929

Preflight Checklist

  • [ x] I agree to follow the Code of Conduct that this project adheres to.
  • [ x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

If you are technical, you should report bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.

Describe the bug
When importing a mermaid, the #32 is rendered instead of being a space

To Reproduce
Steps to reproduce the behavior:

  1. Go to Arrange -> Insert -> Advanced -> Mermaid
  2. Paste the following:
sequenceDiagram
actor User
User ->> Main : main
activate Main
Main ->> Foo : doIt
activate Foo
Foo ->> Bar : doIt
activate Bar
Bar ->> Baz : doIt
activate Baz
Baz -->> Bar : #32; 
deactivate Baz
Bar -->> Foo : #32; 
deactivate Bar
Foo -->> Main : #32; 
deactivate Foo
deactivate Main

Expected behavior
The #32 should be rendered as a blank space. Input the same on https://mermaid.live/

Screenshots
If applicable, add screenshots to help explain your problem.

Image

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version v26.1.1 (mac app)
    • draw.io version v26.2.2 (web app)

Desktop (please complete the following information):

  • OS: MacOS 15.3.2

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

  • yes

Additional context
I suspect that #32 refers to an ASCII space character

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions