This commit is contained in:
Aevann1 2022-02-16 02:23:46 +02:00
parent 817d63b033
commit 6721538b81
7 changed files with 29 additions and 16 deletions

View file

@ -95,7 +95,7 @@ def sanitize_marquee(tag, name, value):
return False
allowed_attributes = {
'*': ['href', 'style', 'src', 'class', 'title'],
'*': ['href', 'style', 'src', 'class', 'title', 'alt', 'loading'],
'marquee': sanitize_marquee}
allowed_protocols = ['http', 'https']