Skip to content

Commit

Permalink
Merge branch 'issue1247' into develop. Issue mathjax#1247.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpvc committed Sep 3, 2015
2 parents 936f85b + 3fdbe03 commit 3253d39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion unpacked/jax/input/AsciiMath/jax.js
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,8 @@ var AMsymbols = [
{input:"frac", tag:"mfrac", output:"/", tex:null, ttype:BINARY},
{input:"/", tag:"mfrac", output:"/", tex:null, ttype:INFIX},
{input:"stackrel", tag:"mover", output:"stackrel", tex:null, ttype:BINARY},
{input:"overset", tag:"mover", output:"stackrel", tex:null, ttype:BINARY},
{input:"underset", tag:"munder", output:"stackrel", tex:null, ttype:BINARY},
{input:"_", tag:"msub", output:"_", tex:null, ttype:INFIX},
{input:"^", tag:"msup", output:"^", tex:null, ttype:INFIX},
{input:"hat", tag:"mover", output:"\u005E", tex:null, ttype:UNARY, acc:true},
Expand Down Expand Up @@ -929,7 +931,7 @@ function AMparseSexpr(str) { //parses str and returns [node,tailstr]
node.setAttribute("mathcolor",st);
return [node,result2[1]];
}
if (symbol.input=="root" || symbol.input=="stackrel")
if (symbol.input=="root" || symbol.output=="stackrel")
newFrag.appendChild(result2[0]);
newFrag.appendChild(result[0]);
if (symbol.input=="frac") newFrag.appendChild(result2[0]);
Expand Down

0 comments on commit 3253d39

Please sign in to comment.