Project

General

Profile

Actions

Defect #44767

open

Mermaid diagrams in a hidden code block are rendered squashed

Defect #44767: Mermaid diagrams in a hidden code block are rendered squashed

Added by Mizuki ISHIKAWA about 22 hours ago. Updated about 22 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Resolution:
Affected version:

Description

If a Mermaid code block (#44425) is hidden with display: none when Mermaid.js finishes loading, the diagram is squashed and nothing is visible once the block is shown.

Example (CommonMark Markdown): open an issue with the following description, wait until Mermaid.js has loaded, and click "Show".

{{collapse
```mermaid
graph TD;
A-->B;
```
}}

Notes in the issue history have the same problem when the issue is opened with the “Property changes” tab.


Files

Actions

Also available in: PDF Atom