Remove custom attribs as consumed

This commit is contained in:
Luke Barnard 2017-03-02 11:39:40 +00:00
parent 36795fa192
commit b951713f7f

View file

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