forked from rDrama/rDrama
1
0
Fork 0

Add 'filter' to allowed_styles.

master
Snakes 2022-06-02 06:14:20 -04:00
parent 71b0022d5c
commit 2008c09136
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,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')
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):