From 9ec8e34ee58d6e8ad1d2fcc49d2d7b117e9ae065 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Thu, 28 Jan 2016 16:52:24 -0500 Subject: [PATCH] Remove lspace and rspace from being used by renderers other than NativeMML. --- unpacked/jax/input/TeX/jax.js | 1 + 1 file changed, 1 insertion(+) diff --git a/unpacked/jax/input/TeX/jax.js b/unpacked/jax/input/TeX/jax.js index afeda617c..8463c8be3 100644 --- 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; },