Steps to replicate the issue (include links if applicable):
- Set math mode to MathML
- Enter the formula <math>f:X\to Y</math>
What happens?:
Generates
With no space around the :
What should have happened instead?:
More space is common. In SVG
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Looking at the generate MathML we have
<math class="mwe-math-element" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow data-mjx-texclass="ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>f</mi>
<mi>:</mi>
<mi>X</mi>
<mo accent="false">→</mo>
<mi>Y</mi>
</mstyle>
</mrow>
</math>The : is represented by <mi>:</mi> rather than <mo>:</mo>. Colon is included in the MathML operator directory.







