Revert "remove "filter" from allowed styles"

This reverts commit 14d929623e.
master
Aevann1 2022-07-01 00:18:05 +02:00
parent 8194c31417
commit aa53296d07
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ allowed_tags = ('b','blockquote','br','code','del','em','h1','h2','h3','h4','h5'
'li','ol','p','pre','strong','sub','sup','table','tbody','th','thead','td','tr','ul',
'marquee','a','span','ruby','rp','rt','spoiler','img','lite-youtube','video','source','audio','g')
allowed_styles = ['color', 'background-color', 'font-weight', 'text-align']
allowed_styles = ['color', 'background-color', 'font-weight', 'text-align', 'filter',]
def allowed_attributes(tag, name, value):