Skip to content

Commit c34a6e1

Browse files
content: Ignore classes that don't have CSS definition
1 parent 0bf40b8 commit c34a6e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/model/katex.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,10 @@ class _KatexParser {
351351
case 'mop':
352352
case 'mclose':
353353
case 'minner':
354+
case 'mbin':
355+
case 'mpunct':
356+
case 'nobreak':
357+
case 'allowbreak':
354358
// Ignore these classes because they don't have a CSS definition
355359
// in katex.scss, but we encounter them in the generated HTML.
356360
break;

0 commit comments

Comments
 (0)