Skip to content

Commit 9ec8e34

Browse files
committed
Remove lspace and rspace from being used by renderers other than NativeMML.
1 parent 54ac450 commit 9ec8e34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unpacked/jax/input/TeX/jax.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,6 +1265,7 @@
12651265
for (id in MML.copyAttributes)
12661266
{if (MML.copyAttributes.hasOwnProperty(id) && mi[id] != null) {mo[id] = mi[id]}}
12671267
mo.lspace = mo.rspace = "0"; // prevent mo from having space in NativeMML
1268+
mo.useMMLspacing &= ~(mo.SPACE_ATTR.lspace | mo.SPACE_ATTR.rspace); // don't count these explicit settings
12681269
return mo;
12691270
},
12701271

0 commit comments

Comments
 (0)