Skip to content

Commit 48139d1

Browse files
authored
Merge pull request #719 from mathjax/no-2061-op
Remove heuristic for U+2061 forcing previous item to be texClass=OP
2 parents 3d2a44c + 363c672 commit 48139d1

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

  • ts/core/MmlTree/MmlNodes

ts/core/MmlTree/MmlNodes/mo.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -289,18 +289,6 @@ export class MmlMo extends AbstractMmlTokenNode {
289289
this.texClass = TEXCLASS.CLOSE;
290290
}
291291
}
292-
if (this.getText() === '\u2061') {
293-
//
294-
// Force previous node to be TEXCLASS.OP and skip this node
295-
//
296-
if (prev && prev.getProperty('texClass') === undefined &&
297-
prev.attributes.get('mathvariant') !== 'italic') {
298-
prev.texClass = TEXCLASS.OP;
299-
prev.setProperty('fnOP', true);
300-
}
301-
this.texClass = this.prevClass = TEXCLASS.NONE;
302-
return prev;
303-
}
304292
return this.adjustTeXclass(prev);
305293
}
306294
/**

0 commit comments

Comments
 (0)