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
|
// We don't currently allow img itself by default, but this
|
||||||
// would make sense if we did
|
// would make sense if we did
|
||||||
img: ['src'],
|
img: ['src'],
|
||||||
|
ol: ['start'],
|
||||||
},
|
},
|
||||||
// Lots of these won't come up by default because we don't allow them
|
// 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'],
|
selfClosing: ['img', 'br', 'hr', 'area', 'base', 'basefont', 'input', 'link', 'meta'],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue