<chem>Fe^{2 } H2O -> X</chem> renders wrongly. It seems to me that X^{2 } is detected as "unusual" and the fallback logic (omitting all spaces) is applied.
<chem>Fe^2 H2O -> X</chem> works fine. I double checked, X^{2 } is definitely covered by the strict simplified mhchem grammar.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Physikerwelt | T159735 Chemistry formulae ignore significant spaces, opposite to LateX source | |||
Resolved | manfredschaefer | T140217 Adjust texvcjs to prevent whitespace modifications in ce-tags | |||
Resolved | Physikerwelt | T185033 Fix texvcjs grammar for X^{2 } |
Event Timeline
Comment Actions
As of today warnings for fallback rendering are emitted. Fallback rendering is not used in any of the cases.
You can check it on https://en.wikipedia.org/api/rest_v1/#/Math/post_media_math_check__type_
curl -X POST "https://en.wikipedia.org/api/rest_v1/media/math/check/chem" -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "q=\ce {Fe^{2 } H2O -> X}//2019-06-06"