mirror of https://github.com/vector-im/riot-web
Merge pull request #787 from VShell/patch-3
Add <ol start="..."> to allowed attributes listpull/21833/head
commit
bb25bee8fa
|
@ -114,6 +114,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