mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 17:02:01 -05:00
[GH-ISSUE #23174] issue: Inconsistent and duplicate rendering of :::writing blocks + missing support for related block types
#90647
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 @ufozone on GitHub (Mar 28, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23174
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.8.12
Ollama Version (if applicable)
No response
Operating System
Windows 11
Browser (if applicable)
Firefox 148.0.2, Chrome 146.0.7680.165
Confirmation
README.md.Expected Behavior
:::writingblocks should be consistently and correctly rendered as a single, self-contained formatted block.:::) should not be visibleAdditionally, related block types (e.g.
writing block) should also be recognized and rendered appropriately instead of appearing as plain text.Actual Behavior
The rendering of
:::writingblocks is inconsistent and often incorrect.:::are visibleAdditionally, other block types such as
writing blockare not rendered at all and appear as plain text.Steps to Reproduce
Open Open WebUI
Select a model that supports the new OpenAI block format (e.g.
openai/gpt-5.3-chat-latest)Send the following prompt:
"Return a
:::writingblock with a short structured text (including a title, paragraph, and bullet list)."Example expected model output:
Observe the rendered output in the UI
In many cases, you will see:
:::markerRepeat the test with slight variations (e.g. adding
---separators or additional text before/after the block) to observe inconsistent behavior(Optional) Ask the model to use a
writing blockformat instead and observe that it is not rendered and appears as plain textLogs & Screenshots
Example 1: Wrong parsing
UI view:

Unparsed plain text:
Example 2: Duplicate parsing
UI view:

Unparsed plain text:
Example 3: Another writing block tag
UI view:

Additional Information
No response
@tjbck commented on GitHub (Apr 1, 2026):
Updated to match ChatGPT's behaviour.
@Classic298 commented on GitHub (Apr 1, 2026):
eb5c95ef8e