Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Rendering error with MathJax for Chinese text #1810

Merged
merged 1 commit into from
Feb 17, 2025

Conversation

shniubobo
Copy link
Contributor

修复 MathJax 引擎错误渲染中文的问题。

没错,就只是更新个依赖就解决了,我还 debug 了整整一天😅

大概的原因是上游去除了对 jsdom 的依赖,然后这个 bug 就神奇的解决了。这个 bug 还很奇怪,只会在用 webpack 等方式打包时才会出现,直接用 tsc 转译再用 node 运行就没问题。具体可以看看这个 repo

@kangfenmao
Copy link
Collaborator

干的漂亮啊

@kangfenmao kangfenmao merged commit e3115d0 into CherryHQ:main Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants