Skip to content

Commit

Permalink
Merge branch 'issue490' into develop. Issue mathjax#490.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpvc committed Sep 11, 2014
2 parents c30dd66 + 612e622 commit f307196
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unpacked/jax/input/TeX/jax.js
Expand Up @@ -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")}));
Expand Down

0 comments on commit f307196

Please sign in to comment.