Originally created by @darkBuddha on GitHub (Apr 17, 2025).
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.5
Ollama Version (if applicable)
No response
Operating System
Debian 12
Browser (if applicable)
No response
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
If a response comprises only a single code block, the "copy" button on the bottom of the message should not include the surrounding ```
Actual Behavior
Clicking on the "copy" button below a "code only" LLM response is including ```
Steps to Reproduce
Tell LLM to respond with one code block only
Use the "Copy" button below the message. It contains ```
The "copy" button on top of the code block doesn't contain it
Logs & Screenshots
Additional Information
No response
Originally created by @darkBuddha on GitHub (Apr 17, 2025).
### 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.5
### Ollama Version (if applicable)
_No response_
### Operating System
Debian 12
### Browser (if applicable)
_No response_
### 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
If a response comprises only a single code block, the "copy" button on the bottom of the message should not include the surrounding ```
### Actual Behavior
Clicking on the "copy" button below a "code only" LLM response is including ```
### Steps to Reproduce
1. Tell LLM to respond with one code block only
2. Use the "Copy" button below the message. It contains ```
3. The "copy" button on top of the code block doesn't contain it
### Logs & Screenshots



### Additional Information
_No response_
GiteaMirror
added the bug label 2025-11-11 16:05:30 -06: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 @darkBuddha on GitHub (Apr 17, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.5
Ollama Version (if applicable)
No response
Operating System
Debian 12
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
If a response comprises only a single code block, the "copy" button on the bottom of the message should not include the surrounding ```
Actual Behavior
Clicking on the "copy" button below a "code only" LLM response is including ```
Steps to Reproduce
Logs & Screenshots
Additional Information
No response
@tjbck commented on GitHub (Apr 19, 2025):
Intended behaviour.