Mermaid diagrams get stuck on loading after an edit #14981

Closed
opened 2025-11-02 11:27:12 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @darren on GitHub (Sep 25, 2025).

Description

Bug: When you add a Mermaid diagram while editing an issue, it gets stuck on a loading spinner after you save.

Gitea Version

f09bea7af1

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

Image

Git Version

No response

Operating System

No response

How are you running Gitea?

Steps to Reproduce:

  1. Create a new issue.
  2. Edit the issue and add a Mermaid block (e.g., graph TD; A-->B;).
  3. Save the change.

Result: The diagram never loads. It should render correctly.

Database

None

Originally created by @darren on GitHub (Sep 25, 2025). ### Description Bug: When you add a Mermaid diagram while editing an issue, it gets stuck on a loading spinner after you save. ### Gitea Version f09bea7af13bd00d07a34252468389d15de39a8d ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots <img width="990" height="666" alt="Image" src="https://github.com/user-attachments/assets/6aa87ae9-1bb2-4276-b8ab-691ce2a4b7d5" /> ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? Steps to Reproduce: 1. Create a new issue. 2. Edit the issue and add a Mermaid block (e.g., graph TD; A-->B;). 3. Save the change. Result: The diagram never loads. It should render correctly. ### Database None
GiteaMirror added the topic/uitype/bug labels 2025-11-02 11:27:13 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Sep 25, 2025):

-> Fix markup init after issue comment editing #35536

@wxiaoguang commented on GitHub (Sep 25, 2025): -> Fix markup init after issue comment editing #35536
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14981