[GH-ISSUE #13773] issue: The current markdown rendering engine has issues when processing mathematical formulas within Chinese content. #32554

Closed
opened 2026-04-25 06:29:17 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @W-reverse on GitHub (May 11, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/13773

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

0.6.7

Ollama Version (if applicable)

No response

Operating System

Windows 11

Browser (if applicable)

microsoft edge

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

Rendering mathematical formulas correctly within Chinese content

Actual Behavior

Image
As shown in the figure, when the results are output in Chinese, there is a rendering issue with the mathematical formulas.
Here is the Markdown code, i thinks there is no problem
Image
This situation occurs with high probability in Chinese output. When I asked the model to re-output the previous Chinese Q&A in English, the formula rendering worked normally.

Image

Steps to Reproduce

Ask a math question and output the result in Chinese.

Logs & Screenshots

just like the screenshots above

Additional Information

No response

Originally created by @W-reverse on GitHub (May 11, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/13773 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version 0.6.7 ### Ollama Version (if applicable) _No response_ ### Operating System Windows 11 ### Browser (if applicable) microsoft edge ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior Rendering mathematical formulas correctly within Chinese content ### Actual Behavior ![Image](https://github.com/user-attachments/assets/392e6234-29ae-4232-b38d-434af7f3d7f7) As shown in the figure, when the results are output in Chinese, there is a rendering issue with the mathematical formulas. Here is the Markdown code, i thinks there is no problem ![Image](https://github.com/user-attachments/assets/d912fc5d-b1cd-4c8a-b04b-5204e444fb60) This situation occurs with high probability in Chinese output. When I asked the model to re-output the previous Chinese Q&A in English, the formula rendering worked normally. ![Image](https://github.com/user-attachments/assets/7b47a6d8-ebbc-4843-b9f9-0d73e9fb0fe1) ### Steps to Reproduce Ask a math question and output the result in Chinese. ### Logs & Screenshots just like the screenshots above ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-25 06:29:17 -05:00
Author
Owner

@Acters commented on GitHub (May 11, 2025):

please use the latest version of Open WebUI

should be fixed in 0.6.8

<!-- gh-comment-id:2869658990 --> @Acters commented on GitHub (May 11, 2025): please use the latest version of Open WebUI should be fixed in 0.6.8
Author
Owner

@W-reverse commented on GitHub (May 11, 2025):

please use the latest version of Open WebUI

should be fixed in 0.6.8

ohhh!!! thanks

<!-- gh-comment-id:2869671352 --> @W-reverse commented on GitHub (May 11, 2025): > please use the latest version of Open WebUI > > should be fixed in 0.6.8 ohhh!!! thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#32554