Skip to content

Bug: <br> being rendered as text in node #73

Closed
@sudodoki

Description

@sudodoki

Using sample code from readme

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!

I get following diagram
sample2 txt
As you can see, <br/> is being part of text content in the node.
phantomjs -v outputs 1.9.8
mermaid --version outputs 0.3.0

Metadata

Metadata

Assignees

No one assigned

    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