1
0
Fork 0
mirror of https://gitlab.com/news-flash/article_scraper.git synced 2025-07-07 08:05:31 +02:00

remove lazy loading attributes

This commit is contained in:
Jan Lukas Gernert 2023-07-22 19:57:38 +02:00
parent d562d41b81
commit 42eb9daf65

View file

@ -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;