issue: Two equals signs highlight sentence in between them while removing equals signs #6745

Closed
opened 2025-11-11 17:04:56 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @bbartels on GitHub (Oct 23, 2025).

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.34

Ollama Version (if applicable)

No response

Operating System

Windows 10

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

Pasting:

if a == n || b == nil {
    return stuff
}

into the prompt box (without backticks) attempts to highlight any text between the == characters in yellow.
But this

Actual Behavior

The pasted prompt turns into:

if a  n || b  nil {

    return stuff

}

Steps to Reproduce

  1. Run open-webui
  2. Paste above prompt into prompt box

Logs & Screenshots

Image

Additional Information

No response

Originally created by @bbartels on GitHub (Oct 23, 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 Git Clone ### Open WebUI Version v0.6.34 ### Ollama Version (if applicable) _No response_ ### Operating System Windows 10 ### 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 Pasting: ``` if a == n || b == nil { return stuff } ``` into the prompt box (without backticks) attempts to highlight any text between the `==` characters in yellow. But this ### Actual Behavior The pasted prompt turns into: ``` if a n || b nil { return stuff } ```` ### Steps to Reproduce 1. Run open-webui 2. Paste above prompt into prompt box ### Logs & Screenshots <img width="1296" height="469" alt="Image" src="https://github.com/user-attachments/assets/8bc464d5-80f2-4835-9b15-6a8ffebea672" /> ### Additional Information _No response_
GiteaMirror added the bug label 2025-11-11 17:04:56 -06:00
Author
Owner

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

I am able to reproduce the issue with Rich Text Input for Chat toggled on in the user Interface settings menu. If Rich Text Input for Chat is toggled off, I am unable to reproduce this issue with the provided reproduction steps. My Open WebUI instance is utilizing the latest dev commit.

Image
@silentoplayz commented on GitHub (Oct 23, 2025): I am able to reproduce the issue with `Rich Text Input for Chat` toggled on in the user `Interface` settings menu. If `Rich Text Input for Chat` is toggled off, I am unable to reproduce this issue with the provided reproduction steps. My Open WebUI instance is utilizing the latest `dev` commit. <img width="238" height="195" alt="Image" src="https://github.com/user-attachments/assets/15fca9aa-846f-4492-9dc6-dd63860cb8f5" />
Author
Owner

@bbartels commented on GitHub (Oct 24, 2025):

I see, i think it might be worth having this disabled by default? It has confused a couple users with our deployment so far. or maybe something more obvious near the chat bar itself that allows you to toggle rich text input

@bbartels commented on GitHub (Oct 24, 2025): I see, i think it might be worth having this disabled by default? It has confused a couple users with our deployment so far. or maybe something more obvious near the chat bar itself that allows you to toggle rich text input
Author
Owner

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

Addressed with 46a3f7de5ebc24bfdc8aad02c4a114ac69777447!

@tjbck commented on GitHub (Oct 27, 2025): Addressed with 46a3f7de5ebc24bfdc8aad02c4a114ac69777447!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#6745