diff --git a/article_scraper/src/full_text_parser/mod.rs b/article_scraper/src/full_text_parser/mod.rs index 10ea343..a21ec64 100644 --- a/article_scraper/src/full_text_parser/mod.rs +++ b/article_scraper/src/full_text_parser/mod.rs @@ -583,6 +583,9 @@ impl FullTextParser { continue; } + _ = node.remove_attribute("decoding"); + _ = node.remove_attribute("loading"); + for (name, val) in node.get_attributes() { if name == "src" || name == "srcset" || name == "alt" { continue;