Allow height and width in attribute filtering
Needed so the fix_emojos filter can add the width and height
This commit is contained in:
parent
a45dbc13a0
commit
9afe69316e
|
@ -195,7 +195,7 @@ SANITIZER_ALLOWED_TAGS = [
|
|||
"span",
|
||||
"u",
|
||||
]
|
||||
SANITIZER_ALLOWED_ATTRIBUTES = ["href", "src", "title", "alt", "class", "lang"]
|
||||
SANITIZER_ALLOWED_ATTRIBUTES = ["href", "src", "title", "alt", "class", "lang", "width", "height"]
|
||||
|
||||
# File upload settings.
|
||||
# Important: media will not work if you change this.
|
||||
|
|
Loading…
Reference in New Issue