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.22 (but also in former versions)
Ollama Version (if applicable)
v0.11.4
Operating System
Ubuntu 24.04.2 LTS
Browser (if applicable)
Chrome 139.0, Firefox 141.0.3
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 provided every relevant configuration, setting, and environment variable used in my setup.
I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
Start with the initial platform/version/OS and dependencies used,
Specify exact install/launch/configure commands,
List URLs visited, user input (incl. example values/emails/passwords if needed),
Describe all options and toggles enabled or changed,
Include any files or environmental changes,
Identify the expected and actual result at each stage,
Ensure any reasonably skilled user can follow and hit the same issue.
Expected Behavior
The "```language" prefix should remain, and subsequent input should be treated as a code block in the specified language.
Actual Behavior
I've noticed a regression in Open WebUI regarding code block input. In previous versions, I could easily start a code block by typing "```" followed by the desired language (e.g., python) and then pressing Shift+Enter to start a new line within the code block.
Currently, when I type "```" followed by a language and press Shift+Enter, the entire "language" prefix disappears. This results in any subsequent text being treated as plain text instead of code.
Steps to Reproduce
Open Open WebUI.
Start a new prompt.
Type "```python" (or any other language) into the prompt input.
Press Shift+Enter.
Observe that the "```python" prefix vanishes.
Any text entered after this point will not be formatted as code.
Logs & Screenshots
no log entries in browser console during these steps
Additional Information
Currently, the only workaround is to enter the entire code block first and then manually add the "language" and "```" delimiters afterwards, without using Shift+Enter to create new lines within the code block.
Originally created by @renelehmann78 on GitHub (Aug 18, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16704
### 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.22 (but also in former versions)
### Ollama Version (if applicable)
v0.11.4
### Operating System
Ubuntu 24.04.2 LTS
### Browser (if applicable)
Chrome 139.0, Firefox 141.0.3
### 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.
- [ ] I have included the browser console logs.
- [ ] I have included the Docker container logs.
- [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.**
- [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
- [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps:
- Start with the initial platform/version/OS and dependencies used,
- Specify exact install/launch/configure commands,
- List URLs visited, user input (incl. example values/emails/passwords if needed),
- Describe all options and toggles enabled or changed,
- Include any files or environmental changes,
- Identify the expected and actual result at each stage,
- Ensure any reasonably skilled user can follow and hit the same issue.
### Expected Behavior
The "```language" prefix should remain, and subsequent input should be treated as a code block in the specified language.
### Actual Behavior
I've noticed a regression in Open WebUI regarding code block input. In previous versions, I could easily start a code block by typing "```" followed by the desired language (e.g., python) and then pressing Shift+Enter to start a new line within the code block.
Currently, when I type "```" followed by a language and press Shift+Enter, the entire "language" prefix disappears. This results in any subsequent text being treated as plain text instead of code.
### Steps to Reproduce
1. Open Open WebUI.
2. Start a new prompt.
3. Type "```python" (or any other language) into the prompt input.
4. Press Shift+Enter.
5. Observe that the "```python" prefix vanishes.
6. Any text entered after this point will not be formatted as code.
### Logs & Screenshots
no log entries in browser console during these steps
### Additional Information
Currently, the only workaround is to enter the entire code block first and then manually add the "language" and "```" delimiters afterwards, without using Shift+Enter to create new lines within the code block.
GiteaMirror
added the bug label 2026-05-15 13:32:35 -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 @renelehmann78 on GitHub (Aug 18, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16704
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.22 (but also in former versions)
Ollama Version (if applicable)
v0.11.4
Operating System
Ubuntu 24.04.2 LTS
Browser (if applicable)
Chrome 139.0, Firefox 141.0.3
Confirmation
README.md.Expected Behavior
The "```language" prefix should remain, and subsequent input should be treated as a code block in the specified language.
Actual Behavior
I've noticed a regression in Open WebUI regarding code block input. In previous versions, I could easily start a code block by typing "```" followed by the desired language (e.g., python) and then pressing Shift+Enter to start a new line within the code block.
Currently, when I type "```" followed by a language and press Shift+Enter, the entire "language" prefix disappears. This results in any subsequent text being treated as plain text instead of code.
Steps to Reproduce
Logs & Screenshots
no log entries in browser console during these steps
Additional Information
Currently, the only workaround is to enter the entire code block first and then manually add the "language" and "```" delimiters afterwards, without using Shift+Enter to create new lines within the code block.
@rgaricano commented on GitHub (Aug 18, 2025):
Duplicate: https://github.com/open-webui/open-webui/discussions/16354
& addressed: https://github.com/open-webui/open-webui/pull/16341 -> https://github.com/open-webui/open-webui/commit/e6726d84442ee4aeaef4ac70ff96ea1e8ac08255
@tjbck commented on GitHub (Aug 18, 2025):
Addressed with
901c997054