Skip to content

Commit

Permalink
fix: fixed typo in parser
Browse files Browse the repository at this point in the history
  • Loading branch information
arnog committed Oct 25, 2024
1 parent 317ce23 commit f0cd46a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ export class Parser {

this.beginContext({
mode: 'math',
mathstyle: '<$>' ? 'textstyle' : 'displaystyle',
mathstyle: final === '<$>' ? 'textstyle' : 'displaystyle',
});

const result = this.scan((token) => token === final);
Expand Down

0 comments on commit f0cd46a

Please sign in to comment.