Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit bb25bee

Browse files
authored
Merge pull request #787 from VShell/patch-3
Add <ol start="..."> to allowed attributes list
2 parents 847c01b + 3ff54b8 commit bb25bee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/HtmlUtils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ var sanitizeHtmlParams = {
114114
// We don't currently allow img itself by default, but this
115115
// would make sense if we did
116116
img: ['src'],
117+
ol: ['start'],
117118
},
118119
// Lots of these won't come up by default because we don't allow them
119120
selfClosing: ['img', 'br', 'hr', 'area', 'base', 'basefont', 'input', 'link', 'meta'],

0 commit comments

Comments
 (0)