I have searched for any existing and/or related issues.
I have searched for any existing and/or related discussions.
I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
I am using the latest version of Open WebUI.
Installation Method
Git Clone
Open WebUI Version
v0.6.36
Ollama Version (if applicable)
No response
Operating System
Windows 11
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 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
When, on Windows, text is pasted from the clipboard, it should keep all the new lines of the original text.
Actual Behavior
When, on Windows, the text is (automatically) pasted from the {{CLIPBOARD}} variable, it messes up with all the new lines, and when you send the message, all the new lines disappear.
Steps to Reproduce
Open OWUI on Windows
create a new Prompt, in your Workspace, that uses the {{CLIPBOARD}} variable
copy any text with Windows newlines (CRLF)
invoke the new prompt in the chat box
you will already see that there is something wrong with it
send it (to any model)
You will notice that in the message sent all the new lines are missing
Logs & Screenshots
Not relevant in this case
Additional Information
I have not included logs as they are not relevant in this case
Originally created by @daniporr on GitHub (Nov 21, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19370
### Check Existing Issues
- [x] I have searched for any existing and/or related issues.
- [x] I have searched for any existing and/or related discussions.
- [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
- [x] I am using the latest version of Open WebUI.
### Installation Method
Git Clone
### Open WebUI Version
v0.6.36
### Ollama Version (if applicable)
_No response_
### Operating System
Windows 11
### 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 **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
When, on Windows, text is pasted from the clipboard, it should keep all the new lines of the original text.
### Actual Behavior
When, on Windows, the text is (automatically) pasted from the `{{CLIPBOARD}}` variable, it messes up with all the new lines, and when you send the message, all the new lines disappear.
### Steps to Reproduce
1. Open OWUI on Windows
2. create a new Prompt, in your Workspace, that uses the `{{CLIPBOARD}}` variable
3. copy any text with Windows newlines (CRLF)
4. invoke the new prompt in the chat box
- you will already see that there is something wrong with it
5. send it (to any model)
You will notice that in the message sent all the new lines are missing
### Logs & Screenshots
Not relevant in this case
### Additional Information
I have not included logs as they are not relevant in this case
GiteaMirror
added the bug label 2026-05-25 10:52:47 -05:00
Let me add that this behaviour is even more evident when you use other types of variables
For instance, when you use a textarea (and you past some text in its modal window), as soon as it is added in chat box (even before sending it) you can notice problems with new lines.
<!-- gh-comment-id:3565117262 -->
@daniporr commented on GitHub (Nov 22, 2025):
Let me add that this behaviour is even more evident when you use other types of variables
For instance, when you use a `textarea` (and you past some text in its modal window), as soon as it is added in chat box (even before sending it) you can notice problems with new lines.
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 @daniporr on GitHub (Nov 21, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19370
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.36
Ollama Version (if applicable)
No response
Operating System
Windows 11
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When, on Windows, text is pasted from the clipboard, it should keep all the new lines of the original text.
Actual Behavior
When, on Windows, the text is (automatically) pasted from the
{{CLIPBOARD}}variable, it messes up with all the new lines, and when you send the message, all the new lines disappear.Steps to Reproduce
{{CLIPBOARD}}variableYou will notice that in the message sent all the new lines are missing
Logs & Screenshots
Not relevant in this case
Additional Information
I have not included logs as they are not relevant in this case
@daniporr commented on GitHub (Nov 22, 2025):
Let me add that this behaviour is even more evident when you use other types of variables
For instance, when you use a
textarea(and you past some text in its modal window), as soon as it is added in chat box (even before sending it) you can notice problems with new lines.@silentoplayz commented on GitHub (Dec 1, 2025):
Related - https://github.com/open-webui/open-webui/issues/18175