diff --git a/ts/core/MmlTree/MmlNodes/mspace.ts b/ts/core/MmlTree/MmlNodes/mspace.ts index ab42a77e7..0c2ab80ab 100644 --- a/ts/core/MmlTree/MmlNodes/mspace.ts +++ b/ts/core/MmlTree/MmlNodes/mspace.ts @@ -22,7 +22,7 @@ */ import {PropertyList} from '../../Tree/Node.js'; -import {AbstractMmlTokenNode, TEXCLASS} from '../MmlNode.js'; +import {MmlNode, AbstractMmlTokenNode, TEXCLASS} from '../MmlNode.js'; /*****************************************************************/ /** @@ -45,7 +45,14 @@ export class MmlMspace extends AbstractMmlTokenNode { /** * TeX class is ORD */ - public texClass = TEXCLASS.ORD; + public texClass = TEXCLASS.NONE; + + /** + * @override + */ + public setTeXclass(prev: MmlNode): MmlNode { + return prev; + } /** * @override