mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 22:21:27 -05:00
[PR #1665] [MERGED] fix: <br> is not escaped in output text #7542
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/1665
Author: @dannyl1u
Created: 4/22/2024
Status: ✅ Merged
Merged: 4/22/2024
Merged by: @tjbck
Base:
dev← Head:fix/html-br-tag-escaped📝 Commits (2)
8e94618fix:is not escaped in output text
40c1b49chore: run format📊 Changes
1 file changed (+0 additions, -1 deletions)
View changed files
📝
src/lib/utils/index.ts(+0 -1)📄 Description
Pull Request Checklist
close #1663
Description
Removes the replacement of
<br>tags with \n newlines, so they are shown in code blocks.Changelog Entry
Fixed
<br>tags in code blocks being rendered as newlinesRemoved
<br>tags with \n newlines🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.