scratch that, just make the fraud impossible

master
Aevann 2023-08-09 12:28:21 +03:00
parent 72215411bb
commit 44b30048e4
1 changed files with 4 additions and 0 deletions

View File

@ -493,6 +493,10 @@ def sanitize(sanitized, golden=True, limit_pings=0, showmore=False, count_emojis
a.string = tag["src"] a.string = tag["src"]
tag.replace_with(a) tag.replace_with(a)
continue continue
del tag["g"]
del tag["glow"]
del tag["party"]
tag["loading"] = "lazy" tag["loading"] = "lazy"
tag["data-src"] = tag["src"] tag["data-src"] = tag["src"]