We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6de34b9 commit e5f667dCopy full SHA for e5f667d
lib/html_parser.dart
@@ -550,6 +550,8 @@ class HtmlParser extends StatelessWidget {
550
.expand((tree) => [
551
parseTree(newContext, tree),
552
if (tree.style.display == Display.BLOCK &&
553
+ tree.element?.parent?.localName != "th" &&
554
+ tree.element?.parent?.localName != "td" &&
555
tree.element?.localName != "html" &&
556
tree.element?.localName != "body")
557
TextSpan(text: "\n"),
0 commit comments