forked from rDrama/rDrama
1
0
Fork 0

make 'transform' devrama exclusive

master
Aevann 2023-09-07 15:07:19 +03:00
parent 06ac5df959
commit eb049a627c
1 changed files with 4 additions and 1 deletions

View File

@ -53,7 +53,10 @@ TLDS = ( # Original gTLDs and ccTLDs
allowed_tags = ('a','audio','b','big','blockquote','br','center','code','del','details','em','g','h1','h2','h3','h4','h5','h6','hr','i','img','li','lite-youtube','marquee','ol','p','pre','rp','rt','ruby','small','span','spoiler','strike','strong','sub','summary','sup','table','tbody','td','th','thead','tr','u','ul','video')
allowed_styles = ['background-color', 'color', 'filter', 'font-weight', 'text-align', 'transform']
allowed_styles = ['background-color', 'color', 'filter', 'font-weight', 'text-align']
if SITE == 'devrama.net':
allowed_styles.append('transform')
def allowed_attributes(tag, name, value):