I have searched all existing open AND closed issues and discussions for similar requests. I have found none that is comparable to my request.
Problem Description
KaTeX rendering is unstable and constantly breaks for moderate-length messages with multiple LaTeX formulas. When it breaks, the plaintext is just shown in red. I frequently have to copy and paste responses into a Markdown viewer with MathJax like Obsidian to render the equations properly.
Desired Solution you'd like
Switch the implemented library from KaTeX to MathJax. MathJax also supports a much wider range of packages, which are sometimes useful in rendering LLM responses.
Alternatives Considered
Not sure what could be done; KaTeX has always been unstable for me on other software as well.
Additional Context
No response
Originally created by @atkirtland on GitHub (Oct 22, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/18507
### Check Existing Issues
- [x] I have searched all existing open AND closed issues and discussions for similar requests. I have found none that is comparable to my request.
### Problem Description
KaTeX rendering is unstable and constantly breaks for moderate-length messages with multiple LaTeX formulas. When it breaks, the plaintext is just shown in red. I frequently have to copy and paste responses into a Markdown viewer with MathJax like Obsidian to render the equations properly.
### Desired Solution you'd like
Switch the implemented library from KaTeX to MathJax. MathJax also supports a much wider range of packages, which are sometimes useful in rendering LLM responses.
### Alternatives Considered
Not sure what could be done; KaTeX has always been unstable for me on other software as well.
### Additional Context
_No response_
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @atkirtland on GitHub (Oct 22, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/18507
Check Existing Issues
Problem Description
KaTeX rendering is unstable and constantly breaks for moderate-length messages with multiple LaTeX formulas. When it breaks, the plaintext is just shown in red. I frequently have to copy and paste responses into a Markdown viewer with MathJax like Obsidian to render the equations properly.
Desired Solution you'd like
Switch the implemented library from KaTeX to MathJax. MathJax also supports a much wider range of packages, which are sometimes useful in rendering LLM responses.
Alternatives Considered
Not sure what could be done; KaTeX has always been unstable for me on other software as well.
Additional Context
No response