same as last commit

master
Aevann 2023-07-22 21:29:27 +03:00
parent fe2c71ac12
commit 617a29eaa4
1 changed files with 1 additions and 1 deletions

View File

@ -610,7 +610,7 @@ def allowed_attributes_emojis(tag, name, value):
if name == 'src':
if '\\' in value: return False
if value.startswith('/') : return True
if value.startswith(SITE_FULL_IMAGES) : return True
if value.startswith(f'{SITE_FULL_IMAGES}/') : return True
if name == 'loading' and value == 'lazy': return True
if name == 'data-bs-toggle' and value == 'tooltip': return True
if name in {'g','glow','t'} and not value: return True