[GH-ISSUE #1708] Putting a hash as the first character breaks SHIFT+ENTER newline functionality #12604

Closed
opened 2026-04-19 19:31:47 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @C0rn3j on GitHub (Apr 24, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1708

Bug Report

Description

Bug Summary:
Putting a hash as the first character breaks SHIFT+ENTER newline functionality

Steps to Reproduce:
Write a single # in the chat, press SHIFT ENTER

Writing abc\n# and pressing SHIFT ENTER works as expected, so the position of the # matters.

Expected Behavior:
newline is inserted

Actual Behavior:
nothing happens

Environment

  • Open WebUI Version: v0.1.120

  • Ollama (if applicable): 0.1.32

  • Operating System: Arch Linux (docker)

  • Browser (if applicable): Chromium 124.0.6367.60-1, Wayland under Plasma 6

Reproduction Details

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.
Originally created by @C0rn3j on GitHub (Apr 24, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/1708 # Bug Report ## Description **Bug Summary:** Putting a hash as the first character breaks SHIFT+ENTER newline functionality **Steps to Reproduce:** Write a single `#` in the chat, press SHIFT ENTER Writing `abc\n#` and pressing SHIFT ENTER works as expected, so the position of the `#` matters. **Expected Behavior:** newline is inserted **Actual Behavior:** nothing happens ## Environment - **Open WebUI Version:** v0.1.120 - **Ollama (if applicable):** 0.1.32 - **Operating System:** Arch Linux (docker) - **Browser (if applicable):** Chromium 124.0.6367.60-1, Wayland under Plasma 6 ## Reproduction Details **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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#12604