This commit is contained in:
Aevann1 2021-11-04 17:41:18 +02:00
parent e16cdd10da
commit 69913f5b97
2 changed files with 6 additions and 1 deletions

View file

@ -79,7 +79,7 @@ allowed_attributes = {'*': ['href', 'style', 'src', 'class', 'title', 'rel', 'da
allowed_protocols = ['http', 'https']
allowed_styles = ['color', 'font-weight', 'transform', '-webkit-transform']
allowed_styles = ['color', 'background-color', 'font-weight', 'transform', '-webkit-transform']
def sanitize(sanitized, noimages=False):