Merge pull request #787 from VShell/patch-3

Add <ol start="..."> to allowed attributes list
pull/21833/head
Matthew Hodgson 2017-04-02 12:49:01 +01:00 committed by GitHub
commit bb25bee8fa
1 changed files with 1 additions and 0 deletions

View File

@ -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'],