[GH-ISSUE #12437] issue: The display format of the defined prompt is messy now #32130

Closed
opened 2026-04-25 06:01:21 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @hitzhangjie on GitHub (Apr 4, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12437

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

0.6.0

Ollama Version (if applicable)

No response

Operating System

Windows 11

Browser (if applicable)

Chrome

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

I have following prompt:

You're expert in Computer Science and Technology, Cloud Native, Distributed Systems, System Architect, Design Pattern, Programming Language Idioms, Devops, High Availability, Scalability, Service Level Agreement (SLA), etc. You should answer in the same language as the question itself.

Here's the question:
>{{question}}

The previous version rendered the prompt very good, like this:

Image

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:

Image

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.

Image

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

  1. create a prompt like this
You're expert in Computer Science and Technology, Cloud Native, Distributed Systems, System Architect, Design Pattern, Programming Language Idioms, Devops, High Availability, Scalability, Service Level Agreement (SLA), etc. You should answer in the same language as the question itself.

Here's the question:
>{{question}}
  1. try to use prompt
  2. see the markdown rendered

Logs & Screenshots

The screenshots is mentioned.

Additional Information

No response

Originally created by @hitzhangjie on GitHub (Apr 4, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/12437 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version 0.6.0 ### Ollama Version (if applicable) _No response_ ### Operating System Windows 11 ### Browser (if applicable) Chrome ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior I have following prompt: ``` You're expert in Computer Science and Technology, Cloud Native, Distributed Systems, System Architect, Design Pattern, Programming Language Idioms, Devops, High Availability, Scalability, Service Level Agreement (SLA), etc. You should answer in the same language as the question itself. Here's the question: >{{question}} ``` The previous version rendered the prompt very good, like this: ![Image](https://github.com/user-attachments/assets/10c9b547-8731-4d6a-b22f-8eaa7aca3aff) 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: ![Image](https://github.com/user-attachments/assets/ce3e8d49-62b6-4903-b86f-d9e30136484e) 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. ![Image](https://github.com/user-attachments/assets/d7c8d5e7-9b3d-4d74-b5ec-e1c19f1fc409) 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 1. create a prompt like this ``` You're expert in Computer Science and Technology, Cloud Native, Distributed Systems, System Architect, Design Pattern, Programming Language Idioms, Devops, High Availability, Scalability, Service Level Agreement (SLA), etc. You should answer in the same language as the question itself. Here's the question: >{{question}} ``` 2. try to use prompt 3. see the markdown rendered ### Logs & Screenshots The screenshots is mentioned. ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-25 06:01:21 -05:00
Author
Owner

@hitzhangjie commented on GitHub (Apr 4, 2025):

The quoting area is not rendered when I input the text in {{question}} placeholder area.

Image

v0.5.20 render the same prompt like this, much more user friendly:

Image

<!-- gh-comment-id:2777720817 --> @hitzhangjie commented on GitHub (Apr 4, 2025): The quoting area is not rendered when I input the text in {{question}} placeholder area. ![Image](https://github.com/user-attachments/assets/d1751feb-8ff2-423e-89a6-7279ffc3b625) v0.5.20 render the same prompt like this, much more user friendly: ![Image](https://github.com/user-attachments/assets/95229f03-276e-4c50-af98-354e22865a29)
Author
Owner

@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

<!-- gh-comment-id:2779047685 --> @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: feaf434d4e8ede0fe1a5397afac9fb20b0cc18c5
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#32130