mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #14219] [MERGED] Fix: Solve equation problems with Chinese symbols #10211
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/14219
Author: @Yu-QX
Created: 5/23/2025
Status: ✅ Merged
Merged: 5/23/2025
Merged by: @tjbck
Base:
dev← Head:main📝 Commits (1)
ec97fdfFix: Solve equation problems with Chinese symbols by adding more symbols to the ALLOWED_SURROUNDING_CHARS📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
src/lib/utils/marked/katex-extension.ts(+2 -1)📄 Description
Explanations to Changes
This change added more symbols to
ALLOWED_SURROUNDING_CHARSin the markdown extension, so that the rendering problem of equations in non-English context is solved.Next Steps
More changes should be made to the markdown extension, to tackle problems with bold and italic. We are also open to more formatting problems, especially with non-English context.
See more in Wiki.
Thank you!
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
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.