sdfsdf
This commit is contained in:
parent
e16cdd10da
commit
69913f5b97
2 changed files with 6 additions and 1 deletions
|
@ -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):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue