You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Add <ol start="..."> to allowed attributes list
Fixes vector-im/riot-web#3273 Signed-off-by: Shell Turner <cam.turn@gmail.com>
This commit is contained in:
@@ -96,6 +96,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'],
|
||||
|
||||
Reference in New Issue
Block a user