[GH-ISSUE #7330] Bug: Words with double underscores are "fixed" #101700

Closed
opened 2026-05-17 23:08:56 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @pipars on GitHub (Nov 25, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7330

Bug Report

Environment

  • Open WebUI Version: v0.4.4

  • Operating System: Windows 11

  • Browser (if applicable): Chrome

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on 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 the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

When I type or paste text in the chat window, containing undersores like __ user__ it shoud remain the same. (note I have the space in my example, becasue the same happening in this editor)

Actual Behavior:

the text is converted to either bold or italics and undrscores are removed

Description

Bug Summary:
text with underscores on the start and end of the word is converted.

Reproduction Details

Steps to Reproduce:
type or paste the word __ user__ (note I have the space in my example, becasue the same happening in this editor)

Additional Information

It would not matter if the code that used in open webui tools and functions would not contain parameters like __ user__ or __ event_emitter__ and I use the interface to edit the code. this creates a bit of a mess.

Originally created by @pipars on GitHub (Nov 25, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/7330 # Bug Report ## Environment - **Open WebUI Version:** v0.4.4 - **Operating System:** Windows 11 - **Browser (if applicable):** Chrome **Confirmation:** - [X] I have read and followed all the instructions provided in the README.md. - [X] I am on the latest version of both Open WebUI and Ollama. - [ ] I have included the browser console logs. - [ ] I have included the Docker container logs. - [X] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: When I type or paste text in the chat window, containing undersores like __ user__ it shoud remain the same. (note I have the space in my example, becasue the same happening in this editor) ## Actual Behavior: the text is converted to either bold or italics and undrscores are removed ## Description **Bug Summary:** text with underscores on the start and end of the word is converted. ## Reproduction Details **Steps to Reproduce:** type or paste the word __ user__ (note I have the space in my example, becasue the same happening in this editor) ## Additional Information It would not matter if the code that used in open webui tools and functions would not contain parameters like __ user__ or __ event_emitter__ and I use the interface to edit the code. this creates a bit of a mess.
Author
Owner

@tjbck commented on GitHub (Nov 25, 2024):

Rich text input behaviour, you can disable it from the settings.

<!-- gh-comment-id:2498398645 --> @tjbck commented on GitHub (Nov 25, 2024): Rich text input behaviour, you can disable it from the settings.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#101700