mirror of
https://gitlab.com/news-flash/article_scraper.git
synced 2025-07-07 16:15:32 +02:00
fmt
This commit is contained in:
parent
71a8816747
commit
2c76a869e7
1 changed files with 3 additions and 1 deletions
|
@ -145,7 +145,9 @@ impl Readability {
|
|||
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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue