dsf
This commit is contained in:
parent
72bc5f9cdd
commit
d2b79ee0b0
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ def sanitize(sanitized, noimages=False):
|
||||||
tag["loading"] = "lazy"
|
tag["loading"] = "lazy"
|
||||||
tag["data-src"] = tag["src"]
|
tag["data-src"] = tag["src"]
|
||||||
tag["src"] = "/assets/images/loading.webp"
|
tag["src"] = "/assets/images/loading.webp"
|
||||||
|
tag['alt'] = f''
|
||||||
|
|
||||||
link = soup.new_tag("a")
|
link = soup.new_tag("a")
|
||||||
link["href"] = tag["data-src"]
|
link["href"] = tag["data-src"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue