mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #19227] issue: Chat messages containing Mermaid diagrams cannot be exported as PDFs #34342
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 @ShirasawaSama on GitHub (Nov 17, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19227
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.36
Ollama Version (if applicable)
No response
Operating System
MacOS 26
Browser (if applicable)
Edge 141
Confirmation
README.md.Expected Behavior
Chat messages containing Mermaid diagrams can be displayed in exported PDFs.
Actual Behavior
Chat messages containing Mermaid diagrams cannot be exported as PDFs
Steps to Reproduce
Logs & Screenshots
OpenWebui:
PDF:
Additional Information
Additionally, the copy, play, and message buttons below the message should not be displayed:
@silentoplayz commented on GitHub (Jan 14, 2026):
The issue title is a bit misleading, as it's possible to export a chat as a PDF file, even if it contains a valid MermaidJS diagram that was rendered in the UI of the chat.
Chat
PDF - The issue here is that the MermaidJS diagram isn't rendered in the PDF file.
This, I can also agree with.