Closed physikerwelt closed 1 day ago
This is a duplicate of #3030. WebKit and Blink seem to have difficulty processing the XSLT stylesheet used for the mml3 extension when the MathML contains
entities. The code example given there should resolve the issue for you, though you might need to change inputJax[0]
to inputJax[1]
depending on how MathJax is loaded.
PS, this is already fixed in v4 (now out in beta release).
Thank you. With your fix, we could fix the upstream but https://phabricator.wikimedia.org/T375241 in little time. This was very helpful.
Replace the text below with the details of the issue you are facing.
DO NOT simply erase the form and type a free-form response.
Issue Summary
As described in https://phabricator.wikimedia.org/T375241 LaTeX input like $\text{A }$ creates the following rendering error in Chromium but renders fine in Firefox.
With a preprocessing script the LaTeX input is converted into MathML of this form
Is this the MathML representation the MathJax team recommends?
Steps to Reproduce:
See that it works with FF but fails with Chrome.
Technical details:
I am using the following MathJax configuration:
https://github.com/wikimedia/mediawiki-extensions-Math/blob/db81c960623d346ca8f43fb91ca3da92f868ea29/modules/ext.math.mathjax.js#L7
and loading MathJax via
Supporting information:
Please supply a link to a (live) minimal example page, when possible:
https://www.mediawiki.org/wiki/Extension:Math/T375241
If your issue is with the display of the mathematics produced by MathJax, include a screen snapshot that illustrates the problem, when possible.
Check your browser console window for any error messages, and include them here.