remove extra space

pull/222/head
Aevann 2024-02-05 07:49:45 +02:00
parent 2559b1967c
commit 2a8a725e11
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ allowed_styles = ['background-color', 'color', 'filter', 'font-weight', 'text-al
def allowed_attributes(tag, name, value):
if name == 'style':
if 'transform' in value.lower() and 'scale' in value.lower() and ('rotate' in value.lower() or 'skew' in value.lower()):
if 'transform' in value.lower() and 'scale' in value.lower() and ('rotate' in value.lower() or 'skew' in value.lower()):
return False
return True