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
Remove custom attribs as consumed
This commit is contained in:
@@ -163,6 +163,7 @@ var sanitizeHtmlParams = {
|
||||
/#[0-9a-fA-F]{6}/.test(customAttributeValue)
|
||||
) {
|
||||
style += cssAttributeKey + ":" + customAttributeValue + ";";
|
||||
delete attribs[customAttributeKey];
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user