mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #1663] <br> is not escaped in output text
#28112
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 @AnotiaWang on GitHub (Apr 22, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1663
Originally assigned to: @dannyl1u on GitHub.
Bug Report
Description
Bug Summary:
The HTML tag
<br>is not escaped in the model output, even if wrapped in Markdown code block (see the screenshot below)Steps to Reproduce:
<br>Expected Behavior:
The
<br>s should be displayed directlyActual Behavior:
<br>is rendered as new lineEnvironment
Open WebUI Version: 0.1.120
Ollama (if applicable): None
Operating System: macOS 14.5 Beta 2
Browser (if applicable): Vivaldi 6.6.3271.61 (Stable channel) (arm64)
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
None
Docker Container Logs:
None
Screenshots (if applicable):

Installation Method
Docker
Additional Information
None
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
@dannyl1u commented on GitHub (Apr 22, 2024):
Fixed on
devbranch