Skip to content

Commit

Permalink
Merge pull request #549 from mathjax/issue2524
Browse files Browse the repository at this point in the history
 Fix issue with textmacros in SVG mode. (mathjax/MathJax#2524)
  • Loading branch information
dpvc authored Sep 12, 2020
2 parents 300846d + 2ce4aca commit c3f88ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ts/input/tex/textmacros/TextParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ export class TextParser extends TexParser {
NodeUtil.setAttribute(mml, name, env[name]);
}
}
if (mml.isKind('inferredMrow')) {
mml = this.create('node', 'mrow', mml.childNodes);
}
this.nodes.push(mml);
}

Expand Down

0 comments on commit c3f88ed

Please sign in to comment.