mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[PR #14630] [MERGED] fix: Rendering problem with Chinese quotation mark in **bold** & *italic* (after Chinese parentheses issue). #127187
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/14630
Author: @Yu-QX
Created: 6/3/2025
Status: ✅ Merged
Merged: 6/3/2025
Merged by: @tjbck
Base:
dev← Head:main📝 Commits (3)
24be96aMerge pull request #1 from open-webui/mainca894dfMerge pull request #2 from open-webui/main4eef6f4fix: Rendering problem with Chinese quotation mark in bold & italic (after Chinese parentheses issue).📊 Changes
1 file changed (+13 additions, -6 deletions)
View changed files
📝
src/lib/utils/index.ts(+13 -6)📄 Description
fix: Handle special cases of LLM output not following markdown syntax (3rd change)
The $3^{\text{rd}}$ change basing on Discussion #14085.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
processChineseContentfunction in$lib/utils/index.tsto handle new issues with Chinese quotation marks“”in bold or italic text.Changed
processChineseContentfunction in$lib/utils/index.ts.Fixed
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.