commit f307196e1a9fe931511f29ebda0530b67b601708
parent c30dd6647bd6089c79c8585d7c9d97ed99a02015
Author: Davide P. Cervone <dpvc@union.edu>
Date: Thu, 11 Sep 2014 06:57:47 -0400
Merge branch 'issue490' into develop. Issue #490.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/unpacked/jax/input/TeX/jax.js b/unpacked/jax/input/TeX/jax.js
@@ -1431,6 +1431,8 @@
var pos = {o: "over", u: "under"}[name.charAt(1)];
var base = this.ParseArg(name);
if (base.Get("movablelimits")) {base.movablelimits = false}
+ if (base.isa(MML.munderover) && base.isEmbellished())
+ {base = MML.mrow(MML.mo().With({rspace:0}),base)} // add an empty <mi> so it's not embellished any more
var mml = MML.munderover(base,null,null);
mml.data[mml[pos]] =
this.mmlToken(MML.mo(MML.entity("#x"+c)).With({stretchy:true, accent:(pos == "under")}));