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 9cc8a56 commit 3da05e5Copy full SHA for 3da05e5
lib/html_parser.dart
@@ -949,7 +949,7 @@ class HtmlParser extends StatelessWidget {
949
if (child is EmptyContentElement || child is EmptyLayoutElement) {
950
toRemove.add(child);
951
} else if (child is TextContentElement
952
- && tree.name == "body"
+ && (tree.name == "body" || tree.name == "ul")
953
&& child.text!.replaceAll(' ', '').isEmpty) {
954
955
0 commit comments