commit 0740dd4735cee63809c1228ae69bb2531e03c3fe
parent b11a9b1b65c2d235b85063c669e2a5eea5b3aff5
Author: Davide P. Cervone <dpvc@union.edu>
Date: Sat, 30 Jan 2016 08:44:31 -0500
Only set movablelimits for nodes of class OP
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unpacked/jax/input/MathML/jax.js b/unpacked/jax/input/MathML/jax.js
@@ -76,7 +76,7 @@
var mml, type = node.nodeName.toLowerCase().replace(/^[a-z]+:/,"");
var match = (CLASS.match(/(^| )MJX-TeXAtom-([^ ]*)/));
if (match) {
- mml = this.TeXAtom(match[2],!CLASS.match(/MJX-fixedlimits/));
+ mml = this.TeXAtom(match[2],match[2] === "OP" && !CLASS.match(/MJX-fixedlimits/));
} else if (!(MML[type] && MML[type].isa && MML[type].isa(MML.mbase))) {
MathJax.Hub.signal.Post(["MathML Jax - unknown node type",type]);
return MML.Error(_("UnknownNodeType","Unknown node type: %1",type));