Page MenuHomePhabricator

<math>\left(a\right)'</math> in MathML and MathJax renders with one prime symbol too much
Closed, ResolvedPublicBUG REPORT

Description

How to reproduce: Enable "MathML (experimental; no images)" or "Client side MathJax rendering" in Special:Preferences → Apperance → Math. Then preview a page with the contents <math>\left(a\right)'</math>.

I expect to see:

image.png (93×97 px, 2 KB)

but it actually looks like

image.png (121×136 px, 4 KB)

Event Timeline

Physikerwelt triaged this task as High priority.
Physikerwelt subscribed.

I can reproduce this locally. Most likely a regression caused by recent changes.

Change #1099083 had a related patch set uploaded (by Physikerwelt; author: Physikerwelt):

[mediawiki/extensions/Math@master] Fix: Don't render ' inside LR structures

https://gerrit.wikimedia.org/r/1099083

It does not seem like a regression, but it's still a bug. Fortunately easy to fix.

Physikerwelt changed the task status from Open to In Progress.Fri, Nov 29, 12:15 AM

Change #1099083 merged by jenkins-bot:

[mediawiki/extensions/Math@master] Fix: Don't render ' inside LR structures

https://gerrit.wikimedia.org/r/1099083

Change #1105071 had a related patch set uploaded (by Krinkle; author: Physikerwelt):

[mediawiki/extensions/Math@REL1_43] Fix: Don't render ' inside LR structures

https://gerrit.wikimedia.org/r/1105071

Change #1105071 merged by jenkins-bot:

[mediawiki/extensions/Math@REL1_43] Fix: Don't render ' inside LR structures

https://gerrit.wikimedia.org/r/1105071