mirror of
https://gitlab.com/news-flash/article_scraper.git
synced 2025-07-07 16:15:32 +02:00
small fix
This commit is contained in:
parent
29daf06a1b
commit
7737311a92
1 changed files with 1 additions and 2 deletions
|
@ -914,8 +914,7 @@ impl FullTextParser {
|
|||
let total_count = img_count + embed_count + object_count + iframe_count;
|
||||
|
||||
if total_count == 0 && Util::get_inner_text(&node, false).trim().is_empty() {
|
||||
node_iter = Util::next_node(&node, true);
|
||||
node.unlink();
|
||||
node_iter = Util::remove_and_next(&mut node);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue