master
Aevann1 2022-04-17 01:00:32 +02:00
parent d11f430e97
commit 520f2e32f0
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False, edit=False):
attributes=allowed_attributes,
protocols=['http', 'https'],
styles=['color', 'background-color', 'font-weight', 'text-align'],
filters=[partial(LinkifyFilter,skip_tags=["pre"],parse_email=False, callbacks=[callback])]
filters=[partial(LinkifyFilter, skip_tags=["pre"], parse_email=False, callbacks=[callback])]
).clean(sanitized)