Remove custom attribs as consumed

pull/21833/head
Luke Barnard 2017-03-02 11:39:40 +00:00
parent 36795fa192
commit b951713f7f
1 changed files with 1 additions and 0 deletions

View File

@ -163,6 +163,7 @@ var sanitizeHtmlParams = {
/#[0-9a-fA-F]{6}/.test(customAttributeValue)
) {
style += cssAttributeKey + ":" + customAttributeValue + ";";
delete attribs[customAttributeKey];
}
});