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
Regular browser text box behavior.
Actual Behavior
On a recent update (currently I'm at v0.6.31), empty lines started to use more vertical space.
This text has a single empty line (although it looks like more):
But copying the text from the edit box and pasting it elsewhere now adds 3 empty lines for a single empty line in the text box (this is after pasting in VSCode)
I have rich text and predictive text disabled, so it's not related to any of those.
Also, it shows some sort of rich-text like behavior when I type the / character. This is new (didn't happen before a recent update):
Steps to Reproduce
Write text with some blank lines in the chat text box and copy and paste it elsewhere.
Logs & Screenshots
Included above.
Additional Information
Rich and predictive text modes disabled.
Also happens in latest Firefox (so not likely Chromium specific).
Originally created by @rotemdan on GitHub (Sep 28, 2025).
### 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 am using the latest version of Open WebUI.
### Installation Method
Docker
### Open WebUI Version
v0.6.31
### Ollama Version (if applicable)
_No response_
### Operating System
Windows 11 24H2
### Browser (if applicable)
Brave 1.82.172 (Official Build) (64-bit) Chromium: 140.0.7339.207
### 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
Regular browser text box behavior.
### Actual Behavior
On a recent update (currently I'm at `v0.6.31`), empty lines started to use more vertical space.
This text has a single empty line (although it looks like more):
<img width="1186" height="278" alt="Screenshot_2" src="https://github.com/user-attachments/assets/f9a84563-e428-4dcb-ab0b-4c6ccd6c1e0e" />
But copying the text from the edit box and pasting it elsewhere now adds 3 empty lines for a single empty line in the text box (this is after pasting in VSCode)
<img width="397" height="158" alt="Screenshot_3" src="https://github.com/user-attachments/assets/1cf3dcc9-f86a-4665-a176-3a894f474c1f" />
I have rich text and predictive text disabled, so it's not related to any of those.
Also, it shows some sort of rich-text like behavior when I type the `/` character. This is new (didn't happen before a recent update):
<img width="1186" height="163" alt="Screenshot_4" src="https://github.com/user-attachments/assets/c9a3703a-1be3-4da8-82a2-adbf85ea2eb5" />
### Steps to Reproduce
Write text with some blank lines in the chat text box and copy and paste it elsewhere.
### Logs & Screenshots
Included above.
### Additional Information
Rich and predictive text modes disabled.
Also happens in latest Firefox (so not likely Chromium specific).
GiteaMirror
added the bug label 2025-11-11 16:58:33 -06:00
Thanks a lot. It fixed it when copying text I've written directly in the text box.
But now if I copy text from an external source like VScode:
And paste it into the edit box:
And then copy it back to VSCode, blank lines are lost:
I noticed it in the new version from a few hours ago and initially didn't understand why it was sometimes happening and sometimes didn't, until I realized it happened when I pasted text and then copied it back to somewhere else (I wrote a long message that initially wrote in VSCode, then modified it in open-webui, then copied it back to VSCode and then all the empty lines were gone).
@rotemdan commented on GitHub (Sep 29, 2025):
Thanks a lot. It fixed it when copying text I've written directly in the text box.
But now if I copy text from an external source like VScode:
<img width="246" height="111" alt="Image" src="https://github.com/user-attachments/assets/1c0a122a-a7e2-41d0-bf7f-379a09a7baff" />
And paste it into the edit box:
<img width="174" height="129" alt="Image" src="https://github.com/user-attachments/assets/492d7e40-e055-4133-95ca-7a58e338a316" />
And then copy it back to VSCode, blank lines are lost:
<img width="179" height="65" alt="Image" src="https://github.com/user-attachments/assets/57b608c6-549f-4c76-91d7-873dba2fc98a" />
I noticed it in the new version from a few hours ago and initially didn't understand why it was sometimes happening and sometimes didn't, until I realized it happened when I pasted text and then copied it back to somewhere else (I wrote a long message that initially wrote in VSCode, then modified it in `open-webui`, then copied it back to VSCode and then all the empty lines were gone).
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 @rotemdan on GitHub (Sep 28, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.31
Ollama Version (if applicable)
No response
Operating System
Windows 11 24H2
Browser (if applicable)
Brave 1.82.172 (Official Build) (64-bit) Chromium: 140.0.7339.207
Confirmation
README.md.Expected Behavior
Regular browser text box behavior.
Actual Behavior
On a recent update (currently I'm at
v0.6.31), empty lines started to use more vertical space.This text has a single empty line (although it looks like more):

But copying the text from the edit box and pasting it elsewhere now adds 3 empty lines for a single empty line in the text box (this is after pasting in VSCode)

I have rich text and predictive text disabled, so it's not related to any of those.
Also, it shows some sort of rich-text like behavior when I type the
/character. This is new (didn't happen before a recent update):Steps to Reproduce
Write text with some blank lines in the chat text box and copy and paste it elsewhere.
Logs & Screenshots
Included above.
Additional Information
Rich and predictive text modes disabled.
Also happens in latest Firefox (so not likely Chromium specific).
@tjbck commented on GitHub (Sep 28, 2025):
Addressed in dev!
@rotemdan commented on GitHub (Sep 29, 2025):
Thanks a lot. It fixed it when copying text I've written directly in the text box.
But now if I copy text from an external source like VScode:
And paste it into the edit box:
And then copy it back to VSCode, blank lines are lost:
I noticed it in the new version from a few hours ago and initially didn't understand why it was sometimes happening and sometimes didn't, until I realized it happened when I pasted text and then copied it back to somewhere else (I wrote a long message that initially wrote in VSCode, then modified it in
open-webui, then copied it back to VSCode and then all the empty lines were gone).