Merge pull request #787 from VShell/patch-3

Add <ol start="..."> to allowed attributes list
This commit is contained in:
Matthew Hodgson 2017-04-02 12:49:01 +01:00 committed by GitHub
commit bb25bee8fa

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