mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-23 18:25:10 -05:00
[GH-ISSUE #21860] issue: Inconsistent HTML Rendering: Escaped in Chat, Rendered in Notification #74199
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 @Mywk on GitHub (Feb 25, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21860
Issue
HTML output is escaped in chat but rendered in the completion notification, resulting in inconsistent rendering behavior.
Expected Behavior
Chat messages and completion notifications should use the same rendering logic.
If HTML output is escaped in chat, it should also be escaped in the notification.
If HTML rendering is supported, it should be handled consistently in both places.
Actual Behavior
When a model outputs raw HTML (e.g.
<table>...</table>):This results in inconsistent rendering between UI components.
Steps to Reproduce
Start a new chat.
Prompt the model to output raw HTML, for example:
Observe that:
Logs & Screenshots
Notes
A good model to test this with is glm-ocr.
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.8.5
Operating System
OpenSUSE Tumbleweed
Confirmation
README.md.@tjbck commented on GitHub (Mar 1, 2026):
It's properly sanitized but notification should also match message rendering behavior, addressed in dev.