[GH-ISSUE #12582] issue: workspace prompt "broken" with code snippet #32175

Closed
opened 2026-04-25 06:03:55 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @somera on GitHub (Apr 7, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12582

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

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.

Image

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

Image

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

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. ![Image](https://github.com/user-attachments/assets/28ec94fb-fd4c-427d-97d0-c5c5907c8e18) 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 ![Image](https://github.com/user-attachments/assets/ac80ee47-e604-4c13-8bc1-bfc6f8e436d2) 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-04-25 06:03:55 -05:00
Author
Owner

@somera commented on GitHub (Apr 8, 2025):

Solution is

Image

<!-- gh-comment-id:2785933654 --> @somera commented on GitHub (Apr 8, 2025): Solution is ![Image](https://github.com/user-attachments/assets/a94b7cab-500d-46b2-b1de-9ea21f861a30)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#32175