Sequencediagram text with <br /> BR tag with space fails
See original GitHub issueThis works
sequenceDiagram
participant Joe
participant Alice
Joe->>Alice: Foo
Note over Alice: Bar<br/>Baz
Note over Joe,Alice: That note above should have had a carriage return between Bar and Baz
but this, with a space between the r
and /
fails by rendering the <br />
as text not as a line break. One tricky thing is that if you look at it in the interactive view, and then type something on the line with the <br />
it displays correctly, but the view link continues to display incorrectly.
sequenceDiagram
participant Joe
participant Alice
Joe->>Alice: Foo
Note over Alice: Bar<br />Baz
Note over Joe,Alice: That note above should have had a carriage return between Bar and Baz
This may relate to some challenges people had in #384
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Instructions and Examples - SequenceDiagram.org
Text comments can be added in the diagram source on separate lines prefixed ... Failure Messages are created by using x to denot...
Read more >uml - PlantUML: How to Insert a Newline or <br> in Between ...
I use ||| . This generates a vertical space, similar to a <br> in HTML.
Read more >mermaid - Generation of diagrams and flowcharts from text in ...
A Sequence diagram is an interaction diagram that shows how processes operate with one another and in what order. Mermaid can render sequence...
Read more >Issue while rendering text with space after <BR> — OpenText
Issue while rendering text with space after <BR> ... are facing one issue while rendering text containing space after <BR > tag.
Read more >Mermaid Cheat Sheet @ https://jojozhuang.github.io
A Sequence diagram is an interaction diagram that shows how processes operate ... od3>Really long text with linebreak<br>in an Odd shape] %% Comments...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This seems to be similar to #1088. Looking at the commit mentioned above, the regex
<br\/?>
is used to determine the lines. This takes care of<br>
and<br/>
but does not find<br />
.If noone else is already working on this issue, I can take a look at it.
PR coming up for the weekend I suppose.