Project

General

Profile

Actions

Defect #44767

closed

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 17 days ago. Updated 15 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Resolution:
Fixed
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