[GH-ISSUE #18175] issue: Multi-lines input variables (text area) do not render properly in the conversation #89264

Closed
opened 2026-05-15 14:09:31 -05:00 by GiteaMirror · 13 comments
Owner

Originally created by @pierrelouisbescond on GitHub (Oct 9, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/18175

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Git Clone

Open WebUI Version

v0.6.32

Ollama Version (if applicable)

N/A

Operating System

Linux

Browser (if applicable)

Edge, Chrome

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 using "textarea" in predefined prompts, I would expect that the text is rendered "as is", respecting original line breaks.

Image

Actual Behavior

However, as shown below, line breaks are removed.

Image

Steps to Reproduce

Create a predefined prompt with a "multi area" like {{insert_your_text_here | textarea}}

This is a text

that uses multiple lines

to demonstrate

an issue I have found.

Logs & Screenshots

See below.

Additional Information

No response

Originally created by @pierrelouisbescond on GitHub (Oct 9, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/18175 ### 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 Git Clone ### Open WebUI Version v0.6.32 ### Ollama Version (if applicable) N/A ### Operating System Linux ### Browser (if applicable) Edge, Chrome ### 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 using "textarea" in predefined prompts, I would expect that the text is rendered "as is", respecting original line breaks. <img width="678" height="372" alt="Image" src="https://github.com/user-attachments/assets/f7b5cfcb-4352-4b7c-88e9-8635fa194c72" /> ### Actual Behavior However, as shown below, line breaks are removed. <img width="898" height="143" alt="Image" src="https://github.com/user-attachments/assets/a3e654bf-109a-4626-8faa-712b4cf6f147" /> ### Steps to Reproduce Create a predefined prompt with a "multi area" like {{insert_your_text_here | textarea}} ``` This is a text that uses multiple lines to demonstrate an issue I have found. ``` ### Logs & Screenshots See below. ### Additional Information _No response_
GiteaMirror added the bug label 2026-05-15 14:09:31 -05:00
Author
Owner

@silentoplayz commented on GitHub (Oct 9, 2025):

I tested and was able to reproduce this issue with the following prompt of mine (picked this one to test with):
https://openwebui.com/p/iamg30/language-learning-practice-partner

Prompt:

You are a patient and knowledgeable language learning partner. Your task is to create an interactive practice scenario to help a user improve their language skills, providing corrections and explanations as needed.

---
**Language & Skill Level:**

*   **Target Language:** {{target_language | text:placeholder="e.g., 'Spanish', 'Japanese', 'French', 'German', 'Mandarin'"}}
*   **User's Proficiency Level:** {{proficiency_level | select:options=["Beginner (A1/A2)", "Intermediate (B1/B2)", "Advanced (C1/C2)"]:default="Intermediate (B1/B2)"}}
*   **Primary Skill to Practice:** {{skill_to_practice | select:options=["Speaking/Conversation", "Writing/Composition", "Reading Comprehension", "Vocabulary Building"]:default="Speaking/Conversation"}}

---
**Scenario & Context:**

*   **Practice Scenario:** {{practice_scenario | select:options=["Ordering food at a restaurant", "Asking for directions", "Making a hotel reservation", "A casual chat about hobbies", "A professional email inquiry", "Describing a picture", "Debating a simple topic"]:default="Ordering food at a restaurant"}}
*   **Your Role in the Scenario:** {{ai_role | text:placeholder="e.g., 'Waiter', 'Friendly stranger', 'Hotel receptionist', 'New friend', 'Colleague'"}}
*   **Key Vocabulary/Grammar to Include (Optional):**
    {{key_vocabulary | text:placeholder="e.g., 'Subjunctive mood', 'past tense verbs', 'restaurant-related vocabulary', 'polite phrases'"}}

---
**Interaction & Feedback:**

*   **Interaction Style:**
    *   **Let's start the role-play now.** I will speak first as the {{ai_role}}. You will respond as yourself in {{target_language}}.
*   **Provide Corrections and Explanations?** {{provide_corrections | checkbox:default=True}}
*   **Correction Style:** {{correction_style | select:options=["Immediately after each mistake", "At the end of the conversation", "Only when asked"]:default="Immediately after each mistake" | show_if='provide_corrections'}}
*   **Focus on:** {{feedback_focus | select:options=["Grammar & Syntax", "Vocabulary Choice", "Pronunciation (phonetic tips)", "Cultural Nuances"]:default="Grammar & Syntax"}}

---
**Initiate the interactive language practice scenario. As the user responds, provide engaging replies in your role and offer corrections and feedback as configured.**

When I paste the following into each fill-able field of the prompt with:

This is a text

that uses multiple lines

to demonstrate

an issue I have found.

This is the result when I press Save:

You are a patient and knowledgeable language learning partner. Your task is to create an interactive practice scenario to help a user improve their language skills, providing corrections and explanations as needed.



---

**Language & Skill Level:**



*   **Target Language:** This is a text  that uses multiple lines  to demonstrate  an issue I have found.

*   **User's Proficiency Level:** Intermediate (B1/B2)

*   **Primary Skill to Practice:** Speaking/Conversation



---

**Scenario & Context:**



*   **Practice Scenario:** Ordering food at a restaurant

*   **Your Role in the Scenario:** This is a text  that uses multiple lines  to demonstrate  an issue I have found.

*   **Key Vocabulary/Grammar to Include (Optional):**

    This is a text  that uses multiple lines  to demonstrate  an issue I have found.



---

**Interaction & Feedback:**



*   **Interaction Style:**

    *   **Let's start the role-play now.** I will speak first as the This is a text  that uses multiple lines  to demonstrate  an issue I have found.. You will respond as yourself in This is a text  that uses multiple lines  to demonstrate  an issue I have found..

*   **Provide Corrections and Explanations?** True

*   **Correction Style:** At the end of the conversation

*   **Focus on:** Pronunciation (phonetic tips)



---

**Initiate the interactive language practice scenario. As the user responds, provide engaging replies in your role and offer corrections and feedback as configured.**
<!-- gh-comment-id:3386464659 --> @silentoplayz commented on GitHub (Oct 9, 2025): I tested and was able to reproduce this issue with the following prompt of mine (picked this one to test with): https://openwebui.com/p/iamg30/language-learning-practice-partner Prompt: ``` You are a patient and knowledgeable language learning partner. Your task is to create an interactive practice scenario to help a user improve their language skills, providing corrections and explanations as needed. --- **Language & Skill Level:** * **Target Language:** {{target_language | text:placeholder="e.g., 'Spanish', 'Japanese', 'French', 'German', 'Mandarin'"}} * **User's Proficiency Level:** {{proficiency_level | select:options=["Beginner (A1/A2)", "Intermediate (B1/B2)", "Advanced (C1/C2)"]:default="Intermediate (B1/B2)"}} * **Primary Skill to Practice:** {{skill_to_practice | select:options=["Speaking/Conversation", "Writing/Composition", "Reading Comprehension", "Vocabulary Building"]:default="Speaking/Conversation"}} --- **Scenario & Context:** * **Practice Scenario:** {{practice_scenario | select:options=["Ordering food at a restaurant", "Asking for directions", "Making a hotel reservation", "A casual chat about hobbies", "A professional email inquiry", "Describing a picture", "Debating a simple topic"]:default="Ordering food at a restaurant"}} * **Your Role in the Scenario:** {{ai_role | text:placeholder="e.g., 'Waiter', 'Friendly stranger', 'Hotel receptionist', 'New friend', 'Colleague'"}} * **Key Vocabulary/Grammar to Include (Optional):** {{key_vocabulary | text:placeholder="e.g., 'Subjunctive mood', 'past tense verbs', 'restaurant-related vocabulary', 'polite phrases'"}} --- **Interaction & Feedback:** * **Interaction Style:** * **Let's start the role-play now.** I will speak first as the {{ai_role}}. You will respond as yourself in {{target_language}}. * **Provide Corrections and Explanations?** {{provide_corrections | checkbox:default=True}} * **Correction Style:** {{correction_style | select:options=["Immediately after each mistake", "At the end of the conversation", "Only when asked"]:default="Immediately after each mistake" | show_if='provide_corrections'}} * **Focus on:** {{feedback_focus | select:options=["Grammar & Syntax", "Vocabulary Choice", "Pronunciation (phonetic tips)", "Cultural Nuances"]:default="Grammar & Syntax"}} --- **Initiate the interactive language practice scenario. As the user responds, provide engaging replies in your role and offer corrections and feedback as configured.** ``` When I paste the following into each fill-able field of the prompt with: ``` This is a text that uses multiple lines to demonstrate an issue I have found. ``` This is the result when I press `Save`: ``` You are a patient and knowledgeable language learning partner. Your task is to create an interactive practice scenario to help a user improve their language skills, providing corrections and explanations as needed. --- **Language & Skill Level:** * **Target Language:** This is a text that uses multiple lines to demonstrate an issue I have found. * **User's Proficiency Level:** Intermediate (B1/B2) * **Primary Skill to Practice:** Speaking/Conversation --- **Scenario & Context:** * **Practice Scenario:** Ordering food at a restaurant * **Your Role in the Scenario:** This is a text that uses multiple lines to demonstrate an issue I have found. * **Key Vocabulary/Grammar to Include (Optional):** This is a text that uses multiple lines to demonstrate an issue I have found. --- **Interaction & Feedback:** * **Interaction Style:** * **Let's start the role-play now.** I will speak first as the This is a text that uses multiple lines to demonstrate an issue I have found.. You will respond as yourself in This is a text that uses multiple lines to demonstrate an issue I have found.. * **Provide Corrections and Explanations?** True * **Correction Style:** At the end of the conversation * **Focus on:** Pronunciation (phonetic tips) --- **Initiate the interactive language practice scenario. As the user responds, provide engaging replies in your role and offer corrections and feedback as configured.** ```
Author
Owner

@tjbck commented on GitHub (Oct 28, 2025):

Unable to reproduce with the latest dev, @silentoplayz confirmation wanted here!

<!-- gh-comment-id:3458423158 --> @tjbck commented on GitHub (Oct 28, 2025): Unable to reproduce with the latest dev, @silentoplayz confirmation wanted here!
Author
Owner

@silentoplayz commented on GitHub (Oct 28, 2025):

Unable to reproduce with the latest dev, @silentoplayz confirmation wanted here!

Not able to reproduce anymore!

<!-- gh-comment-id:3458438205 --> @silentoplayz commented on GitHub (Oct 28, 2025): > Unable to reproduce with the latest dev, [@silentoplayz](https://github.com/silentoplayz) confirmation wanted here! Not able to reproduce anymore!
Author
Owner

@pierrelouisbescond commented on GitHub (Nov 29, 2025):

Unable to reproduce with the latest dev, @silentoplayz confirmation wanted here!

Not able to reproduce anymore!

Hi,
I'm using the v0.6.40 and the line breaks still do not render properly. Am I missing something?

Image Image
<!-- gh-comment-id:3591600213 --> @pierrelouisbescond commented on GitHub (Nov 29, 2025): > > Unable to reproduce with the latest dev, [@silentoplayz](https://github.com/silentoplayz) confirmation wanted here! > > Not able to reproduce anymore! Hi, I'm using the v0.6.40 and the line breaks still do not render properly. Am I missing something? <img width="680" height="322" alt="Image" src="https://github.com/user-attachments/assets/21e0e973-8cc6-4b85-83f8-bebb63cf9e6a" /> <img width="902" height="153" alt="Image" src="https://github.com/user-attachments/assets/1d4d560c-947c-40e1-8bda-730de329b29b" />
Author
Owner

@silentoplayz commented on GitHub (Nov 30, 2025):

Unable to reproduce with the latest dev, @silentoplayz confirmation wanted here!

Not able to reproduce anymore!

Hi, I'm using the v0.6.40 and the line breaks still do not render properly. Am I missing something?
Image Image

Can you please share the prompt you're using to test this issue out with?

<!-- gh-comment-id:3592045790 --> @silentoplayz commented on GitHub (Nov 30, 2025): > > > Unable to reproduce with the latest dev, [@silentoplayz](https://github.com/silentoplayz) confirmation wanted here! > > > > > > Not able to reproduce anymore! > > Hi, I'm using the v0.6.40 and the line breaks still do not render properly. Am I missing something? > <img alt="Image" width="680" height="322" src="https://private-user-images.githubusercontent.com/65066394/520374109-21e0e973-8cc6-4b85-83f8-bebb63cf9e6a.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjQ0NjE2NjYsIm5iZiI6MTc2NDQ2MTM2NiwicGF0aCI6Ii82NTA2NjM5NC81MjAzNzQxMDktMjFlMGU5NzMtOGNjNi00Yjg1LTgzZjgtYmViYjYzY2Y5ZTZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTExMzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMTMwVDAwMDkyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIyNjdjOTI2ZjUyY2YwZWFjNjk0NzkzZmQ1NWVmYmM4Y2ZjYjE0YjljNTRiYzJjOGYwOTdmY2M0YzI1ZDcxZTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.KCK9kkAAb8ZSXWWhjyb85o5QFqxXJ1PqG-w9pe-3yhU"> <img alt="Image" width="902" height="153" src="https://private-user-images.githubusercontent.com/65066394/520373954-1d4d560c-947c-40e1-8bda-730de329b29b.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjQ0NjE2NjYsIm5iZiI6MTc2NDQ2MTM2NiwicGF0aCI6Ii82NTA2NjM5NC81MjAzNzM5NTQtMWQ0ZDU2MGMtOTQ3Yy00MGUxLThiZGEtNzMwZGUzMjliMjliLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTExMzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMTMwVDAwMDkyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg4YTYyZWY4MWI2ODM3NGExOTQ1YjE2NDEyNWY3MjYwODI1ZWI0NjMyMjVhNGYzNmU4N2IzN2VmYWViZDQ0MzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.DYdqDKp1If10djAAMLM5Dw4wzmRdzzqjWqUTTNb1M4I"> Can you please share the prompt you're using to test this issue out with?
Author
Owner

@pierrelouisbescond commented on GitHub (Nov 30, 2025):

Unable to reproduce with the latest dev, @silentoplayz confirmation wanted here!

Not able to reproduce anymore!

Hi, I'm using the v0.6.40 and the line breaks still do not render properly. Am I missing something?
Image Image

Can you please share the prompt you're using to test this issue out with?

Of course, here it is:

Could you correct grammar and spelling mistakes in the following text and add explanations on the changes you have made after the enhanced text with a '***' separator:
***
{{insert_your_text_here | textarea}}
<!-- gh-comment-id:3592255280 --> @pierrelouisbescond commented on GitHub (Nov 30, 2025): > > > > Unable to reproduce with the latest dev, [@silentoplayz](https://github.com/silentoplayz) confirmation wanted here! > > > > > > > > > Not able to reproduce anymore! > > > > > > Hi, I'm using the v0.6.40 and the line breaks still do not render properly. Am I missing something? > > <img alt="Image" width="680" height="322" src="https://private-user-images.githubusercontent.com/65066394/520374109-21e0e973-8cc6-4b85-83f8-bebb63cf9e6a.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjQ0NjE2NjYsIm5iZiI6MTc2NDQ2MTM2NiwicGF0aCI6Ii82NTA2NjM5NC81MjAzNzQxMDktMjFlMGU5NzMtOGNjNi00Yjg1LTgzZjgtYmViYjYzY2Y5ZTZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTExMzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMTMwVDAwMDkyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIyNjdjOTI2ZjUyY2YwZWFjNjk0NzkzZmQ1NWVmYmM4Y2ZjYjE0YjljNTRiYzJjOGYwOTdmY2M0YzI1ZDcxZTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.KCK9kkAAb8ZSXWWhjyb85o5QFqxXJ1PqG-w9pe-3yhU"> <img alt="Image" width="902" height="153" src="https://private-user-images.githubusercontent.com/65066394/520373954-1d4d560c-947c-40e1-8bda-730de329b29b.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjQ0NjE2NjYsIm5iZiI6MTc2NDQ2MTM2NiwicGF0aCI6Ii82NTA2NjM5NC81MjAzNzM5NTQtMWQ0ZDU2MGMtOTQ3Yy00MGUxLThiZGEtNzMwZGUzMjliMjliLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTExMzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMTMwVDAwMDkyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg4YTYyZWY4MWI2ODM3NGExOTQ1YjE2NDEyNWY3MjYwODI1ZWI0NjMyMjVhNGYzNmU4N2IzN2VmYWViZDQ0MzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.DYdqDKp1If10djAAMLM5Dw4wzmRdzzqjWqUTTNb1M4I"> > > Can you please share the prompt you're using to test this issue out with? Of course, here it is: ``` Could you correct grammar and spelling mistakes in the following text and add explanations on the changes you have made after the enhanced text with a '***' separator: *** {{insert_your_text_here | textarea}} ```
Author
Owner

@silentoplayz commented on GitHub (Nov 30, 2025):

Unable to reproduce with the latest dev, @silentoplayz confirmation wanted here!

Not able to reproduce anymore!

Hi, I'm using the v0.6.40 and the line breaks still do not render properly. Am I missing something?
Image Image

Can you please share the prompt you're using to test this issue out with?

Of course, here it is:

Could you correct grammar and spelling mistakes in the following text and add explanations on the changes you have made after the enhanced text with a '***' separator:
***
{{insert_your_text_here | textarea}}

Looks fine to me. Perhaps this issue is browser specific?

Image
<!-- gh-comment-id:3592327143 --> @silentoplayz commented on GitHub (Nov 30, 2025): > > > > > Unable to reproduce with the latest dev, [@silentoplayz](https://github.com/silentoplayz) confirmation wanted here! > > > > > > > > > > > > Not able to reproduce anymore! > > > > > > > > > Hi, I'm using the v0.6.40 and the line breaks still do not render properly. Am I missing something? > > > <img alt="Image" width="680" height="322" src="https://private-user-images.githubusercontent.com/65066394/520374109-21e0e973-8cc6-4b85-83f8-bebb63cf9e6a.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjQ0NjE2NjYsIm5iZiI6MTc2NDQ2MTM2NiwicGF0aCI6Ii82NTA2NjM5NC81MjAzNzQxMDktMjFlMGU5NzMtOGNjNi00Yjg1LTgzZjgtYmViYjYzY2Y5ZTZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTExMzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMTMwVDAwMDkyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIyNjdjOTI2ZjUyY2YwZWFjNjk0NzkzZmQ1NWVmYmM4Y2ZjYjE0YjljNTRiYzJjOGYwOTdmY2M0YzI1ZDcxZTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.KCK9kkAAb8ZSXWWhjyb85o5QFqxXJ1PqG-w9pe-3yhU"> <img alt="Image" width="902" height="153" src="https://private-user-images.githubusercontent.com/65066394/520373954-1d4d560c-947c-40e1-8bda-730de329b29b.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjQ0NjE2NjYsIm5iZiI6MTc2NDQ2MTM2NiwicGF0aCI6Ii82NTA2NjM5NC81MjAzNzM5NTQtMWQ0ZDU2MGMtOTQ3Yy00MGUxLThiZGEtNzMwZGUzMjliMjliLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTExMzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMTMwVDAwMDkyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg4YTYyZWY4MWI2ODM3NGExOTQ1YjE2NDEyNWY3MjYwODI1ZWI0NjMyMjVhNGYzNmU4N2IzN2VmYWViZDQ0MzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.DYdqDKp1If10djAAMLM5Dw4wzmRdzzqjWqUTTNb1M4I"> > > > > > > Can you please share the prompt you're using to test this issue out with? > > Of course, here it is: > > ``` > Could you correct grammar and spelling mistakes in the following text and add explanations on the changes you have made after the enhanced text with a '***' separator: > *** > {{insert_your_text_here | textarea}} > ``` Looks fine to me. Perhaps this issue is browser specific? <img width="1265" height="369" alt="Image" src="https://github.com/user-attachments/assets/2b23ffda-fe2b-4ff7-a4d5-0ea77e6c2d45" />
Author
Owner

@pierrelouisbescond commented on GitHub (Nov 30, 2025):

Unable to reproduce with the latest dev, @silentoplayz confirmation wanted here!

Not able to reproduce anymore!

Hi, I'm using the v0.6.40 and the line breaks still do not render properly. Am I missing something?
Image Image

Can you please share the prompt you're using to test this issue out with?

Of course, here it is:

Could you correct grammar and spelling mistakes in the following text and add explanations on the changes you have made after the enhanced text with a '***' separator:
***
{{insert_your_text_here | textarea}}

Looks fine to me. Perhaps this issue is browser specific?

Image

Probably... I've checked with different browsers (Edge 142.0.3595.94, Chrome 142.0.7444.176, Opera 124.0.5705.65) and prompts, none of them render the break lines properly. I'm on Windows 11 btw...

<!-- gh-comment-id:3592364578 --> @pierrelouisbescond commented on GitHub (Nov 30, 2025): > > > > > > Unable to reproduce with the latest dev, [@silentoplayz](https://github.com/silentoplayz) confirmation wanted here! > > > > > > > > > > > > > > > Not able to reproduce anymore! > > > > > > > > > > > > Hi, I'm using the v0.6.40 and the line breaks still do not render properly. Am I missing something? > > > > <img alt="Image" width="680" height="322" src="https://private-user-images.githubusercontent.com/65066394/520374109-21e0e973-8cc6-4b85-83f8-bebb63cf9e6a.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjQ0NjE2NjYsIm5iZiI6MTc2NDQ2MTM2NiwicGF0aCI6Ii82NTA2NjM5NC81MjAzNzQxMDktMjFlMGU5NzMtOGNjNi00Yjg1LTgzZjgtYmViYjYzY2Y5ZTZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTExMzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMTMwVDAwMDkyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIyNjdjOTI2ZjUyY2YwZWFjNjk0NzkzZmQ1NWVmYmM4Y2ZjYjE0YjljNTRiYzJjOGYwOTdmY2M0YzI1ZDcxZTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.KCK9kkAAb8ZSXWWhjyb85o5QFqxXJ1PqG-w9pe-3yhU"> <img alt="Image" width="902" height="153" src="https://private-user-images.githubusercontent.com/65066394/520373954-1d4d560c-947c-40e1-8bda-730de329b29b.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjQ0NjE2NjYsIm5iZiI6MTc2NDQ2MTM2NiwicGF0aCI6Ii82NTA2NjM5NC81MjAzNzM5NTQtMWQ0ZDU2MGMtOTQ3Yy00MGUxLThiZGEtNzMwZGUzMjliMjliLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTExMzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMTMwVDAwMDkyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg4YTYyZWY4MWI2ODM3NGExOTQ1YjE2NDEyNWY3MjYwODI1ZWI0NjMyMjVhNGYzNmU4N2IzN2VmYWViZDQ0MzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.DYdqDKp1If10djAAMLM5Dw4wzmRdzzqjWqUTTNb1M4I"> > > > > > > > > > Can you please share the prompt you're using to test this issue out with? > > > > > > Of course, here it is: > > ``` > > Could you correct grammar and spelling mistakes in the following text and add explanations on the changes you have made after the enhanced text with a '***' separator: > > *** > > {{insert_your_text_here | textarea}} > > ``` > > Looks fine to me. Perhaps this issue is browser specific? > > <img alt="Image" width="1265" height="369" src="https://private-user-images.githubusercontent.com/50341825/520465596-2b23ffda-fe2b-4ff7-a4d5-0ea77e6c2d45.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjQ0OTIxMzcsIm5iZiI6MTc2NDQ5MTgzNywicGF0aCI6Ii81MDM0MTgyNS81MjA0NjU1OTYtMmIyM2ZmZGEtZmUyYi00ZmY3LWE0ZDUtMGVhNzdlNmMyZDQ1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTExMzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMTMwVDA4MzcxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA2NjU4ZmMzYWEzMGE1NzA4NWRlMzg5ZTkxNTU5YzBiZDQ3MzZhZThiMTNmNWE3OGRjZmE2OTQ5N2I3ZDdjMTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Zp8iJnfUOiO_GQHECTqZ_sbU6_57nCRsZw2yo4kqt3M"> Probably... I've checked with different browsers (Edge 142.0.3595.94, Chrome 142.0.7444.176, Opera 124.0.5705.65) and prompts, none of them render the break lines properly. I'm on Windows 11 btw...
Author
Owner

@mysteryx93 commented on GitHub (Feb 10, 2026):

Why is this issue closed? Copy-pasting with line breaks still isn't working in v0.7.2

I copy this from plain text editor into the chat box

line 1

line 2

It pastes with a single line break instead of 2.

BUT interestingly, if I copy/paste from that textarea back into text editor, I can see that the line break is still present! Which means the correct line breaks are in the textarea, it looks like a display bug.

Note: I'm using Linux

<!-- gh-comment-id:3879901933 --> @mysteryx93 commented on GitHub (Feb 10, 2026): Why is this issue closed? Copy-pasting with line breaks still isn't working in v0.7.2 I copy this from plain text editor into the chat box ``` line 1 line 2 ``` It pastes with a single line break instead of 2. BUT interestingly, if I copy/paste from that textarea back into text editor, I can see that the line break is still present! Which means the correct line breaks are in the textarea, it looks like a display bug. Note: I'm using Linux
Author
Owner

@Classic298 commented on GitHub (Feb 10, 2026):

@mysteryx93 because as you can see from above conversation, multiple attempts of reproduction were unsuccessful

<!-- gh-comment-id:3879916848 --> @Classic298 commented on GitHub (Feb 10, 2026): @mysteryx93 because as you can see from above conversation, multiple attempts of reproduction were unsuccessful
Author
Owner

@pierrelouisbescond commented on GitHub (Feb 10, 2026):

Why is this issue closed? Copy-pasting with line breaks still isn't working in v0.7.2

I copy this from plain text editor into the chat box

line 1

line 2

It pastes with a single line break instead of 2.

BUT interestingly, if I copy/paste from that textarea back into text editor, I can see that the line break is still present! Which means the correct line breaks are in the textarea, it looks like a display bug.

Note: I'm using Linux

@mysteryx93 Same here. The line breaks are still not rendered properly on our side. Could you pls describe your config to see if there's anything in common between our configs?

<!-- gh-comment-id:3880417974 --> @pierrelouisbescond commented on GitHub (Feb 10, 2026): > Why is this issue closed? Copy-pasting with line breaks still isn't working in v0.7.2 > > I copy this from plain text editor into the chat box > > ``` > line 1 > > line 2 > ``` > > It pastes with a single line break instead of 2. > > BUT interestingly, if I copy/paste from that textarea back into text editor, I can see that the line break is still present! Which means the correct line breaks are in the textarea, it looks like a display bug. > > Note: I'm using Linux @mysteryx93 Same here. The line breaks are still not rendered properly on our side. Could you pls describe your config to see if there's anything in common between our configs?
Author
Owner

@mysteryx93 commented on GitHub (Feb 10, 2026):

Well, it's deployed via Docker container image on a Ubuntu server. Not much special configuration at all. Client-side, I'm using Linux, trying with the 2 most popular browser: Firedragon and Vivaldi

Line breaks are weird. First, I now understand that the chat box is markdown format which complicates things; line breaks are different in markdown than in standard text, and that's kind of a hybrid textarea.

I open a new chat, enter

line 1

line 2

select, copy, paste into text editor, I get

line 1



line 2

I write in text editor

line 1

line 2

select, copy, paste into text area of OpenWebUI, I get

line 1
line 2

but I select it back, copy, paste into text editor again, and I get

line 1

line 2

...

ALSO -- line height in textarea is considerably higher than necessary; just a slight annoyance for multi-line prompts

<!-- gh-comment-id:3881231398 --> @mysteryx93 commented on GitHub (Feb 10, 2026): Well, it's deployed via Docker container image on a Ubuntu server. Not much special configuration at all. Client-side, I'm using Linux, trying with the 2 most popular browser: Firedragon and Vivaldi Line breaks are weird. First, I now understand that the chat box is markdown format which complicates things; line breaks are different in markdown than in standard text, and that's kind of a hybrid textarea. I open a new chat, enter ``` line 1 line 2 ``` select, copy, paste into text editor, I get ``` line 1 line 2 ``` I write in text editor ``` line 1 line 2 ``` select, copy, paste into text area of OpenWebUI, I get ``` line 1 line 2 ``` but I select it back, copy, paste into text editor again, and I get ``` line 1 line 2 ``` ... ALSO -- line height in textarea is considerably higher than necessary; just a slight annoyance for multi-line prompts
Author
Owner

@pierrelouisbescond commented on GitHub (Feb 12, 2026):

Azure Container Apps hosting on our side (= managed Kubernetes with Debian Linux 12)
Client side: Windows 11 + Edge or Chrome

I was wondering if the "send" method (Enter or Ctrl+Enter) might be the cause (because you either need to type "Shift+Enter" or "Enter" to get a break line)... but it does not seem so...

<!-- gh-comment-id:3892055858 --> @pierrelouisbescond commented on GitHub (Feb 12, 2026): Azure Container Apps hosting on our side (= managed Kubernetes with Debian Linux 12) Client side: Windows 11 + Edge or Chrome I was wondering if the "send" method (Enter or Ctrl+Enter) might be the cause (because you either need to type "Shift+Enter" or "Enter" to get a break line)... but it does not seem so...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#89264