Skip to content

Commit

Permalink
Merge pull request #564 from mathjax/issue2576
Browse files Browse the repository at this point in the history
Make mspace elements have TEXCLASS.NONE (mathjax/MathJax#2576)
  • Loading branch information
dpvc authored Feb 9, 2021
2 parents e1f4148 + 9ddef53 commit 876edcb
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions ts/core/MmlTree/MmlNodes/mspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*/

import {PropertyList} from '../../Tree/Node.js';
import {AbstractMmlTokenNode, TEXCLASS} from '../MmlNode.js';
import {MmlNode, AbstractMmlTokenNode, TEXCLASS} from '../MmlNode.js';

/*****************************************************************/
/**
Expand All @@ -45,7 +45,14 @@ export class MmlMspace extends AbstractMmlTokenNode {
/**
* TeX class is ORD
*/
protected texclass = TEXCLASS.ORD;
public texClass = TEXCLASS.NONE;

/**
* @override
*/
public setTeXclass(prev: MmlNode): MmlNode {
return prev;
}

/**
* @override
Expand Down

0 comments on commit 876edcb

Please sign in to comment.