Page MenuHomePhabricator

Undesired spaces added after math expressions
Closed, ResolvedPublic


If you type


then the MathML mode generates

<span><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="">
<mrow class="MJX-TeXAtom-ORD">

<mstyle displaystyle="true" scriptlevel="0">
  <mi>ω<!-- ω --></mi>

<meta class="mwe-math-fallback-image-inline" style="background-image: url('/w/index.php?title=Special:MathShowImage&amp;hash=260b57b4fdee8c5a001c09b555ccd28d&amp;mode=5'); background-repeat: no-repeat; background-size: 100% 100%; vertical-align: -0.167ex; height: 1.167ex; width: 1.5ex;" aria-hidden="true"></span> ,

and an undesired space is added between the math expression and the comma.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.
bzimport set Reference to bz72806.
bzimport added a subscriber: Unknown Object (MLST).
fredw created this task.Oct 31 2014, 9:18 AM

physik wrote:

It does not seem to be a problem with the math extension. The math extension does not return a space in the end.
It could be a problem with tidy.

physik wrote:

I did some furter testing and could find out that the additional space has no effect. I managed to remove the space after the span element but the space in the rendering remains

physik wrote:

The additional space is caused by the meta element. So it's a math extension problem

Change 170644 had a related patch set uploaded by Physikerwelt:
Remove Undesired spaces after math expressions

Change 170644 merged by jenkins-bot:
Remove Undesired spaces after math expressions

physik wrote:

Change got merged.