Skip to content

Commit f6bac7c

Browse files
committed
Make sure AsciiMath text elements are of kind #text
1 parent 4d1e195 commit f6bac7c

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)