I have searched the existing issues and discussions.
I am using the latest version of Open WebUI.
Installation Method
Docker
Open WebUI Version
v0.6.2
Ollama Version (if applicable)
0.6.5
Operating System
Ubuntu 24.04.2 LTS
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 created with older Open WebUI version some prompts which have an empty code snippet block.
In the oder Open WebUI version there was an empty block for the code snippet when the prompt was selected.
Actual Behavior
Now I see
Ans when I put code between code than this will be not formated as code.
Steps to Reproduce
Goto workspace -> prompt.
Create a prompt like shown in screenshot.
Use it.
Logs & Screenshots
no logs
Additional Information
No response
Originally created by @somera on GitHub (Apr 7, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12582
### 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
v0.6.2
### Ollama Version (if applicable)
0.6.5
### Operating System
Ubuntu 24.04.2 LTS
### 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 created with older Open WebUI version some prompts which have an empty code snippet block.

In the oder Open WebUI version there was an empty block for the code snippet when the prompt was selected.
### Actual Behavior
Now I see

Ans when I put code between `code` than this will be not formated as code.
### Steps to Reproduce
1. Goto workspace -> prompt.
2. Create a prompt like shown in screenshot.
3. Use it.
### Logs & Screenshots
no logs
### Additional Information
_No response_
GiteaMirror
added the bug label 2026-05-05 17:26:02 -05:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @somera on GitHub (Apr 7, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12582
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.2
Ollama Version (if applicable)
0.6.5
Operating System
Ubuntu 24.04.2 LTS
Browser (if applicable)
Chrome
Confirmation
README.md.Expected Behavior
I created with older Open WebUI version some prompts which have an empty code snippet block.
In the oder Open WebUI version there was an empty block for the code snippet when the prompt was selected.
Actual Behavior
Now I see
Ans when I put code between
codethan this will be not formated as code.Steps to Reproduce
Logs & Screenshots
no logs
Additional Information
No response
@somera commented on GitHub (Apr 8, 2025):
Solution is