forked from rDrama/rDrama
fsd
parent
d11f430e97
commit
520f2e32f0
|
@ -250,7 +250,7 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False, edit=False):
|
||||||
attributes=allowed_attributes,
|
attributes=allowed_attributes,
|
||||||
protocols=['http', 'https'],
|
protocols=['http', 'https'],
|
||||||
styles=['color', 'background-color', 'font-weight', 'text-align'],
|
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)
|
).clean(sanitized)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue