Skip to content

Commit 73ae269

Browse files
committed
katex: Don't expect height on vlist child spans
These spans are highly structured; the only properties that go into their inline styles are top, margin-left, and margin-right.
1 parent c14bfe6 commit 73ae269

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/model/katex.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,6 @@ class _KatexParser {
311311
final inlineStyles = _parseInlineStyles(innerSpan);
312312
if (inlineStyles == null) throw _KatexHtmlParseError();
313313
final styles = KatexSpanStyles(
314-
heightEm: _takeStyleEm(inlineStyles, 'height'),
315314
marginLeftEm: _takeStyleEm(inlineStyles, 'margin-left'),
316315
marginRightEm: _takeStyleEm(inlineStyles, 'margin-right'),
317316
);

0 commit comments

Comments
 (0)