Skip to content

[BUG] Mermaid not respecting <br> for new lines (Safari, Rafiki) #44

@melissahenderson

Description

@melissahenderson

Is there an existing issue for this?

  • I have searched the existing issues

What type of bug are you experiencing?

Component behavior

Current Behavior

Timea sent a screenshot of an odd issue she's seeing in the Rafiki docs, using Safari. Instead of respecting line breaks (<br>), the additional line overlaps with the first line. She's confirmed that this isn't happening on Chrome, nor is it happening in Open Payments on Safari. I sent her this page as a test.

Image

The only differences as far as I can tell are that the Rafiki docs (on the Webhooks page linked above) have <Mermaid> nested within <details><summary>, while the OP IdP page has <MermaidWrapper> then <Mermaid>. Those differences might not have anything to do with the issue itself.

Expected Behavior

No response

Steps To Reproduce

No response

Environment

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions