You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running my site through tidy. Tidy is breaking mermaid, because it does not respect line breaks in <div> elements.
So this code:
<div class="mermaid">
sequenceDiagram
participant Alice
participant Bob
Alice->John: Hello John, how are you?
loop Healthcheck
John->John: Fight against hypochondria
end
Note right of John: Rational thoughts <br/>prevail...
John-->Alice: Great!
John->Bob: How about you?
Bob-->John: Jolly good!
</div>
Gets compressed into this code:
<div class="mermaid">sequenceDiagram participant Alice participant Bob Alice->John: Hello John, how are you? loop Healthcheck John->John: Fight against hypochondria end Note right of John: Rational thoughts <br/>prevail... John-->Alice: Great! John->Bob: How about you? Bob-->John: Jolly good!</div>
I tried to configure tidy to ignore the class "mermaid" div without success. My second thought was: What about changing mermaid to use semicolons as line separators (or anything else)?
Best Regards,
Stefan
The text was updated successfully, but these errors were encountered:
Hello,
I'm running my site through tidy. Tidy is breaking mermaid, because it does not respect line breaks in
<div>
elements.So this code:
Gets compressed into this code:
I tried to configure tidy to ignore the class "mermaid" div without success. My second thought was: What about changing mermaid to use semicolons as line separators (or anything else)?
Best Regards,
Stefan
The text was updated successfully, but these errors were encountered: