Skip to content

Commit 20b6c93

Browse files
content: Ignore more KaTeX classes that don't have CSS definition
1 parent 2bf293d commit 20b6c93

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/model/katex.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,12 @@ class _KatexParser {
359359

360360
case 'mord':
361361
case 'mopen':
362+
case 'mtight':
363+
case 'text':
364+
case 'mrel':
365+
case 'mop':
366+
case 'mclose':
367+
case 'minner':
362368
// Ignore these classes because they don't have a CSS definition
363369
// in katex.scss, but we encounter them in the generated HTML.
364370
break;

0 commit comments

Comments
 (0)