nabu1185 / mathmleditor

Automatically exported from code.google.com/p/mathmleditor
0 stars 0 forks source link

Fmath Editor converting <mtext> tags containing whitespace into singletons #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
... send some mathml to the editor which contains an <mtext> tag that only 
contains whitespace.  Get the mathml back out of the editor

What is the expected output? What do you see instead?
... whitespace should be preserved.  Instead, the <mtext> tags become singletons

What version of the product are you using? On what browser?
...

Please provide any additional information below.
...

Flash input:

<mrow><mtext fontweight="bold" fontstyle="italic" fontfamily="Arial"
mathcolor="#000000" mathsize="30px">x</mtext><mtext fontweight="bold"
fontfamily="Arial" mathcolor="#000000" mathsize="30px"> </mtext><mtext
fontweight="bold" fontfamily="Arial" mathcolor="#000000"
mathsize="30px">=</mtext><mtext fontweight="bold" fontfamily="Arial"
mathcolor="#000000" mathsize="30px"> </mtext><mtext fontweight="bold"
fontfamily="Arial" mathcolor="#000000"
mathsize="30px">0.1</mtext><mover><mtext
focus="true">3</mtext><mrow><mo>&amp;centerdot;</mo></mrow></mover></mrow>

Flash output:

<mrow> <mtext fontweight="bold" fontstyle="italic" fontfamily="Arial"
mathcolor="#000000" mathsize="30px" selected="true">x</mtext> <mtext
fontweight="bold" fontfamily="Arial" mathcolor="#000000"
mathsize="30px"/> <mtext fontweight="bold" fontfamily="Arial"
mathcolor="#000000" mathsize="30px">=</mtext> <mtext fontweight="bold"
fontfamily="Arial" mathcolor="#000000" mathsize="30px"/> <mtext
fontweight="bold" fontfamily="Arial" mathcolor="#000000"
mathsize="30px">0.1</mtext> <mover> <mtext focus="true">3</mtext>
<mrow> <mo>&centerdot;</mo> </mrow> </mover> </mrow>

Original issue reported on code.google.com by pete.ota...@mangahigh.com on 23 Aug 2011 at 7:48

GoogleCodeExporter commented 9 years ago

Original comment by ionel.alexandru@gmail.com on 25 Jan 2012 at 3:16