Skip to content

Commit 556a9ac

Browse files
rajveermalviyagnprice
authored andcommitted
content: Ignore classes that don't have CSS definition
1 parent 24489a9 commit 556a9ac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/model/katex.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,11 @@ class _KatexParser {
508508
case 'mop':
509509
case 'mclose':
510510
case 'minner':
511+
case 'mbin':
512+
case 'mpunct':
513+
case 'nobreak':
514+
case 'allowbreak':
515+
case 'mathdefault':
511516
// Ignore these classes because they don't have a CSS definition
512517
// in katex.scss, but we encounter them in the generated HTML.
513518
break;

0 commit comments

Comments
 (0)