Remove lspace and rspace from being used by renderers other than NativeMML.

This commit is contained in:
Davide P. Cervone 2016-01-28 16:52:24 -05:00
parent 54ac450144
commit 9ec8e34ee5

View File

@ -1265,6 +1265,7 @@
for (id in MML.copyAttributes)
{if (MML.copyAttributes.hasOwnProperty(id) && mi[id] != null) {mo[id] = mi[id]}}
mo.lspace = mo.rspace = "0"; // prevent mo from having space in NativeMML
mo.useMMLspacing &= ~(mo.SPACE_ATTR.lspace | mo.SPACE_ATTR.rspace); // don't count these explicit settings
return mo;
},