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

Commit 3ff54b8

Browse files
authored
Add <ol start="..."> to allowed attributes list
Fixes element-hq/element-web#3273 Signed-off-by: Shell Turner <[email protected]>
1 parent a9cd1bf commit 3ff54b8

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
@@ -96,6 +96,7 @@ var sanitizeHtmlParams = {
9696
// We don't currently allow img itself by default, but this
9797
// would make sense if we did
9898
img: ['src'],
99+
ol: ['start'],
99100
},
100101
// Lots of these won't come up by default because we don't allow them
101102
selfClosing: ['img', 'br', 'hr', 'area', 'base', 'basefont', 'input', 'link', 'meta'],

0 commit comments

Comments
 (0)