fdsfds]
This commit is contained in:
parent
292be05b31
commit
f4c26abfbd
1 changed files with 2 additions and 1 deletions
|
@ -138,7 +138,8 @@ def sanitize(sanitized, noimages=False):
|
|||
link["href"] = tag["src"]
|
||||
if site not in link["href"] and not link["href"].startswith('/'): link["rel"] = "nofollow noopener noreferrer"
|
||||
link["target"] = "_blank"
|
||||
link["onclick"] = f"expandDesktopImage('{tag['data-src']}');"
|
||||
# link["onclick"] = f"expandDesktopImage('{tag['data-src']}');"
|
||||
link["onclick"] = f"expandDesktopImage('{tag['src']}');"
|
||||
link["data-bs-toggle"] = "modal"
|
||||
link["data-bs-target"] = "#expandImageModal"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue