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 newlines
Removed
replacement of <br> tags with \n newlines
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/1665
**Author:** [@dannyl1u](https://github.com/dannyl1u)
**Created:** 4/22/2024
**Status:** ✅ Merged
**Merged:** 4/22/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `fix/html-br-tag-escaped`
---
### 📝 Commits (2)
- [`8e94618`](https://github.com/open-webui/open-webui/commit/8e94618c514b3c67ceeea7d2fb3c0f43ef7d22d7) fix: <br> is not escaped in output text
- [`40c1b49`](https://github.com/open-webui/open-webui/commit/40c1b49e6db6abb7a13d4172b076364e86d59a65) chore: run format
### 📊 Changes
**1 file changed** (+0 additions, -1 deletions)
<details>
<summary>View changed files</summary>
📝 `src/lib/utils/index.ts` (+0 -1)
</details>
### 📄 Description
## Pull Request Checklist
- [x] **Description:** Briefly describe the changes in this pull request.
- [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [x] **Documentation:** Have you updated relevant documentation?
- [x] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
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 newlines
### Removed
- replacement of `<br>` tags with \n newlines
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.