Don't require both prevLevel > 0 and scriptlevel > 0 (either true shoudl be sufficient). Resolves issue #911.

This commit is contained in:
Davide P. Cervone 2016-07-04 13:43:31 -04:00
parent 7523687f4c
commit fb998031b6

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:[