mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #12437] issue: The display format of the defined prompt is messy now #32130
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 @hitzhangjie on GitHub (Apr 4, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12437
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.0
Ollama Version (if applicable)
No response
Operating System
Windows 11
Browser (if applicable)
Chrome
Confirmation
README.md.Expected Behavior
I have following prompt:
The previous version rendered the prompt very good, like this:
Actually, even before I input the question in the {{question}} placeholder, the display format is the same, this style is very convenient.
But now after updated to 0.6.3 version, it is rendered like this:
This update breaks the display format of my prompt, and it's inconvenient to input. I have to add a newline even before the character '>' by myself.
I think you changed the Markdown render rules, new version may require 2 spaces to add newline. So the render is broken.
Actual Behavior
Render the markdown normally.
Steps to Reproduce
Logs & Screenshots
The screenshots is mentioned.
Additional Information
No response
@hitzhangjie commented on GitHub (Apr 4, 2025):
The quoting area is not rendered when I input the text in {{question}} placeholder area.
v0.5.20 render the same prompt like this, much more user friendly:
@tjbck commented on GitHub (Apr 4, 2025):
We've had too many issues with markdown rendering in our rich text input, so decided to not to render
<and>specifically in our rich text editor. This might be added back in the future but I'll mark this issue as intended for now.Related:
feaf434d4e