mirror of
http://git.carcosa.net/jmcbray/brutaldon.git
synced 2024-11-23 15:23:52 -05:00
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",
|
"span",
|
||||||
"u",
|
"u",
|
||||||
]
|
]
|
||||||
SANITIZER_ALLOWED_ATTRIBUTES = ["href", "src", "title", "alt", "class", "lang"]
|
SANITIZER_ALLOWED_ATTRIBUTES = ["href", "src", "title", "alt", "class", "lang", "width", "height"]
|
||||||
|
|
||||||
# File upload settings.
|
# File upload settings.
|
||||||
# Important: media will not work if you change this.
|
# Important: media will not work if you change this.
|
||||||
|
Loading…
Reference in New Issue
Block a user