1
0
Fork 0
mirror of https://gitlab.com/news-flash/article_scraper.git synced 2025-07-07 16:15:32 +02:00
This commit is contained in:
Jan Lukas Gernert 2023-02-17 14:35:35 +01:00
parent 71a8816747
commit 2c76a869e7

View file

@ -145,7 +145,9 @@ impl Readability {
continue; continue;
} }
} }
} else if !Self::has_child_block_element(node_ref) && node_ref.set_name("P").is_ok() { } else if !Self::has_child_block_element(node_ref)
&& node_ref.set_name("P").is_ok()
{
elements_to_score.push(node_ref.clone()); elements_to_score.push(node_ref.clone());
} }
} }