mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #21432] issue: font of code block fallback to NSimSun #35007
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?
Originally created by @chesha1 on GitHub (Feb 15, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21432
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.8.1
Ollama Version (if applicable)
No response
Operating System
Windows 10
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Both text and codes in code blocks use Inter.
Actual Behavior
For text, the font is Inter, which is expected.
But for codes in code block, the rendered font is not Inter.
Steps to Reproduce
Maybe need a computer with system language is Chinese
Logs & Screenshots
Browser console logs:
Additional Information
No response
@tjbck commented on GitHub (Feb 16, 2026):
Intended
@chesha1 commented on GitHub (Mar 2, 2026):
Root cause identified:
How it was verified:
iiii WWWW 1234 []{}).Rendered Fontswith computedfont-familyto confirm the actual rendered font source.Result and workaround:
chrome://settings/fontsand set Fixed-width font toConsolasor something else, then refresh the page.