mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 01:23:38 +08:00
TRIVIAL: Santiize some extra attributes from images
This commit is contained in:
parent
689afbfb7a
commit
43b997c1ce
|
@ -852,15 +852,10 @@ html4.ATTRIBS = {
|
||||||
'iframe::marginwidth': 0,
|
'iframe::marginwidth': 0,
|
||||||
'iframe::width': 0,
|
'iframe::width': 0,
|
||||||
'iframe::src': 1,
|
'iframe::src': 1,
|
||||||
'img::align': 0,
|
|
||||||
'img::alt': 0,
|
'img::alt': 0,
|
||||||
'img::border': 0,
|
|
||||||
'img::height': 0,
|
'img::height': 0,
|
||||||
'img::hspace': 0,
|
|
||||||
'img::ismap': 0,
|
|
||||||
'img::name': 7,
|
'img::name': 7,
|
||||||
'img::src': 1,
|
'img::src': 1,
|
||||||
'img::vspace': 0,
|
|
||||||
'img::width': 0,
|
'img::width': 0,
|
||||||
'ins::cite': 1,
|
'ins::cite': 1,
|
||||||
'ins::datetime': 0,
|
'ins::datetime': 0,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user