Aevann 2024-05-23 06:15:22 +03:00
parent 52cd9f45b1
commit 161d11f0ec
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ from files.helpers.config.const import *
allowed_tags = ('a','alpha','audio','b','big','blink','blockquote','br','center','code','del','details','em','g','gl','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_tags_runtime = ('div', 'input', 'label', 'score', 'button', 'd')
allowed_css_properties = ('background-color', 'color', 'filter', 'font-weight', 'text-align', 'transform')
allowed_css_properties = ('background-color', 'color', 'filter', 'font-weight', 'text-align', 'transform', 'font-variant-caps')
def allowed_attributes(tag, name, value):
if name == 'style':