This commit is contained in:
Aevann1 2022-02-04 04:22:58 +02:00
parent 332867b5bc
commit e73042b34b
2 changed files with 1 additions and 2 deletions

View file

@ -151,7 +151,6 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False, edit=False):
soup = BeautifulSoup(sanitized, features="html.parser")
for tag in soup.find_all("img"):
if tag.get("src") and tag.get("class") != ['pp20']:
tag["class"] = "in-comment-image"
tag["loading"] = "lazy"