remotes/1693045480750635534/spooky-22
Aevann1 2021-11-04 16:13:09 +02:00
parent 24633263de
commit 8f2d8736ee
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ def sanitize(sanitized, noimages=False):
tag.wrap(link)
for tag in soup.find_all("a"):
if tag["href"]:
if tag.get("href"):
tag["target"] = "_blank"
if site not in tag["href"]: tag["rel"] = "nofollow noopener noreferrer"