This commit is contained in:
Aevann1 2021-11-11 20:58:09 +02:00
parent 4975a79694
commit 1a13a0d833
294 changed files with 142 additions and 135 deletions

View file

@ -133,7 +133,7 @@ def sanitize(sanitized, noimages=False):
tag["class"] = "in-comment-image"
tag["loading"] = "lazy"
tag["data-src"] = tag["src"]
tag["src"] = "/assets/images/loading.gif"
tag["src"] = "/assets/images/loading.webp"
link = soup.new_tag("a")
link["href"] = tag["data-src"]