mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 02:35:48 +03:00
Merge pull request #787 from VShell/patch-3
Add <ol start="..."> to allowed attributes list
This commit is contained in:
commit
bb25bee8fa
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue