Test equation:
<math>
<mrow>
<mrow>
<msup> <mi>x</mi> <mn>2</mn> </msup> <mo>+</mo>
<mrow>
<mn>4</mn>
<mo>⁢</mo>
<mi>x</mi>
</mrow>
<mo>+</mo>
<mn>4</mn>
</mrow>
<mo>=</mo>
<mn>0</mn>
</mrow>
</math>
Works fine if there aren't any spaces:
<math><mrow><mrow><msup><mi>x</mi><mn>2</mn></msup><mo>+</mo><mrow><mn>4</mn><mo>⁢</mo><mi>x</mi></mrow><mo>+</mo><mn>4</mn></mrow><mo>=</mo><mn>0</mn></mrow></math>
Steps to reproduce:
- Paste equation into Text Editor
- Switch to Visual Editor
- Switch back to text Editor
Expected:HTML not mangled
Actual: HTML Mangled



Test equation:
Works fine if there aren't any spaces:
Steps to reproduce:
Expected:HTML not mangled
Actual: HTML Mangled