commit 9ec8e34ee58d6e8ad1d2fcc49d2d7b117e9ae065
parent 54ac450144f27ee7fe79abe1dbc447400b57e665
Author: Davide P. Cervone <dpvc@union.edu>
Date: Thu, 28 Jan 2016 16:52:24 -0500
Remove lspace and rspace from being used by renderers other than NativeMML.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/unpacked/jax/input/TeX/jax.js b/unpacked/jax/input/TeX/jax.js
@@ -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;
},