Skip to content

Commit 2bb1c37

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

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
@@ -351,6 +351,11 @@ class _KatexParser {
351351
case 'mop':
352352
case 'mclose':
353353
case 'minner':
354+
case 'mbin':
355+
case 'mpunct':
356+
case 'nobreak':
357+
case 'allowbreak':
358+
case 'mathdefault':
354359
// Ignore these classes because they don't have a CSS definition
355360
// in katex.scss, but we encounter them in the generated HTML.
356361
break;

0 commit comments

Comments
 (0)