mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #4731] Mermaid rendering errors #52377
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mike-stewart on GitHub (Aug 19, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/4731
Bug Report
Installation Method
Docker
Environment
Confirmation:
Expected Behavior:
A prompt that generates mermaid syntax should be displayed as a mermaid diagram.
Actual Behavior:
The Mermaid diagram is momentarily displayed, then disappears.
Description
Bug Summary:
Rendering certain types of mermaid diagrams fails to display them.
Reproduction Details
Steps to Reproduce:
Logs and Screenshots
Screenshots/Screen Recordings (if applicable):
Screen recording:
https://github.com/user-attachments/assets/462cc646-2c9f-4b1f-ae98-acb4561b594c
Additional Information
Opening a new ticket here as it is slightly different from the closed issue #4535.
Sequence and ER diagrams seem to work for me, but pie charts do not.
@tjbck commented on GitHub (Aug 19, 2024):
Should be fixed on dev!