mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #12962] issue: ``` copied when using the bottom "copy" of a message, when copying from a "code only" response #32298
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @darkBuddha on GitHub (Apr 17, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12962
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.