Skip to content

Commit ae6aef4

Browse files
authored
Merge pull request #1306 from mathjax/fix/asciimath-text
Make sure AsciiMath text elements are of kind #text
2 parents ee34476 + f6bac7c commit ae6aef4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ts/input/asciimath/legacy/jax/element/MmlNode.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
toMmlNode: function (factory) {
2525
var kind = this.type;
2626
if (kind === 'texatom') kind = 'TeXAtom';
27+
if (kind === 'text') kind = '#text';
2728
var node = this.nodeMake(factory, kind);
2829
if ("texClass" in this) node.texClass = this.texClass;
2930
return node;

0 commit comments

Comments
 (0)