Add <ol start="..."> to allowed attributes list
Fixes vector-im/riot-web#3273 Signed-off-by: Shell Turner <cam.turn@gmail.com>pull/21833/head
parent
a9cd1bfd4b
commit
3ff54b8e4b
|
@ -96,6 +96,7 @@ var sanitizeHtmlParams = {
|
|||
// We don't currently allow img itself by default, but this
|
||||
// would make sense if we did
|
||||
img: ['src'],
|
||||
ol: ['start'],
|
||||
},
|
||||
// Lots of these won't come up by default because we don't allow them
|
||||
selfClosing: ['img', 'br', 'hr', 'area', 'base', 'basefont', 'input', 'link', 'meta'],
|
||||
|
|
Loading…
Reference in New Issue