Merge pull request #1567 from dpvc/issue911

Fix spacing for initial fraction in exponent position.  #911
This commit is contained in:
Davide P. Cervone 2016-08-05 11:05:24 -04:00 committed by GitHub
commit 1179e74595

View File

@ -376,7 +376,7 @@ MathJax.ElementJax.mml.Augment({
if (prev === MML.TEXCLASS.VCENTER) {prev = MML.TEXCLASS.ORD}
if (tex === MML.TEXCLASS.VCENTER) {tex = MML.TEXCLASS.ORD}
var space = this.TEXSPACE[prev][tex];
if (this.prevLevel > 0 && this.Get("scriptlevel") > 0 && space >= 0) {return ""}
if ((this.prevLevel > 0 || this.Get("scriptlevel") > 0) && space >= 0) {return ""}
return this.TEXSPACELENGTH[Math.abs(space)];
},
TEXSPACELENGTH:[