mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 23:21:44 -05:00
[GH-ISSUE #20417] issue: Preceding character incorrectly deleted when typing Markdown inline code #122491
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @July791 on GitHub (Jan 6, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20417
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
0.6.43
Ollama Version (if applicable)
No response
Operating System
Ubuntu 24.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When typing text followed immediately by Markdown inline code syntax (backticks), the text preceding the code block should remain intact. For example, typing "Hello
123" should result in the word "Hello" followed by the inline code block 123, without deleting any characters from the original word.Actual Behavior
When entering inline code using backticks, the character immediately preceding the opening backtick is incorrectly deleted. Using the example above, typing "Hello
123" results in Hell followed by the code block 123. The letter "o" is removed automatically when the Markdown formatting is applied.Steps to Reproduce
123.123".Logs & Screenshots
Additional Information
No response
@silentoplayz commented on GitHub (Jan 7, 2026):
I am able to reproduce this issue on the latest
devwhenRich Text Input for Chatis toggled on in the user settings menu.@Classic298 commented on GitHub (Mar 7, 2026):
e303c3da3b