Skip to content

Commit 1518a02

Browse files
removing unnecessary classes getting ignored
1 parent c6d8b3b commit 1518a02

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

lib/model/katex.dart

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -627,32 +627,6 @@ class _KatexParser {
627627
case 'nobreak':
628628
case 'allowbreak':
629629
case 'mathdefault':
630-
case 'tag':
631-
case 'eqn-num':
632-
case 'mtable':
633-
case 'col-align-l':
634-
case 'col-align-c':
635-
case 'col-align-r':
636-
case 'delimcenter':
637-
case 'accent':
638-
case 'accent-body':
639-
case 'vlist':
640-
case 'vlist-r':
641-
case 'vlist-s':
642-
case 'svg-align':
643-
case 'hide-tail':
644-
case 'halfarrow-left':
645-
case 'halfarrow-right':
646-
case 'brace-left':
647-
case 'brace-center':
648-
case 'brace-right':
649-
case 'root':
650-
case 'sqrt':
651-
case 'pstrut':
652-
case 'arraycolsep':
653-
case 'vertical-separator':
654-
case 'frac-line':
655-
case 'mfrac':
656630
// Ignore these classes because they don't have a CSS definition
657631
// in katex.scss, but we encounter them in the generated HTML.
658632
// (Why are they there if they're not used? The story seems to be:
@@ -668,6 +642,7 @@ class _KatexParser {
668642
break;
669643

670644
case 'overline-line':
645+
//
671646
borderStyle = KatexBorderStyle(
672647
position: KatexBorderPosition.bottom,
673648
widthEm: 0.04,

0 commit comments

Comments
 (0)