master
Aevann1 2022-02-03 11:28:40 +02:00
parent 4fa997866c
commit 41e0b97fef
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False, edit=False):
for tag in soup.find_all("img"):
if tag.get("src") and "pp20" not in tag.get("class", ""):
if tag.get("src") and tag.get("class") != "pp20":
tag["class"] = "in-comment-image"
tag["loading"] = "lazy"
tag["data-src"] = tag["src"]