Page MenuHomePhabricator

Extra space after <math> in MathML rendering
Closed, DuplicatePublic

Description

With MathML rendering mode enabled, I always see an extra space after <math> tags.

Example : in frwiki:Fusion du silicium, the wikitext (3,3 M<math>\scriptstyle{_\odot}</math>), is rendered as:

math-space-actual.png (54×97 px, 2 KB)

How it should be rendered:

math-space-expected.png (53×92 px, 2 KB)

I think it comes from the line feed between the </math></span> and the <meta> in the output HTML.

Event Timeline

Ltrlg raised the priority of this task from to Needs Triage.
Ltrlg updated the task description. (Show Details)
Ltrlg added a project: Math.
Ltrlg subscribed.