In T386071#10541446, @Dexxor wrote:A possibly related bug is that the "2" in <math>\sin \cos^2</math> or <math>\deg \cos^2</math> is not rendered as a superscript (i.e. I would expect to see "sin cos²" but it actually renders as "sin cos2"). Again, "Invalid markup: Incorrect number of children for <msup/> tag" is printed to the Firefox console. Interestingly, <math>\sin^2 \cos^2</math> is rendered correctly as "sin² cos²".
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Fix rendering of \sin \cos^2 | mediawiki/extensions/Math | master | +12 -9 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | Feature | JeanCASPAR | T397585 Provide a macro for putting arbitrary Unicode content in <mo> tag | ||
| Open | Physikerwelt | T271001 Transition to MathML rendering as default | |||
| Open | None | T375318 Native MathML mode formatting bugs | |||
| In Progress | BUG REPORT | Physikerwelt | T375238 Client-side MathJax rendering problems | ||
| Resolved | BUG REPORT | Physikerwelt | T386071 <math>_1</math> not rendered as subscript | ||
| Resolved | Physikerwelt | T386318 <math>\sin \cos^2</math> not rendered as superscript |
Event Timeline
Comment Actions
<math>\sin^2 \cos^2</math>
is probably cached
The rest is probably a regression from my recent "fix" to the apply logic
Comment Actions
Change #1119458 had a related patch set uploaded (by Physikerwelt; author: Physikerwelt):
[mediawiki/extensions/Math@master] Fix rendering of \sin \cos^2
Comment Actions
Change #1119458 merged by jenkins-bot:
[mediawiki/extensions/Math@master] Fix rendering of \sin \cos^2
