Remove custom attribs as consumed
parent
36795fa192
commit
b951713f7f
|
@ -163,6 +163,7 @@ var sanitizeHtmlParams = {
|
||||||
/#[0-9a-fA-F]{6}/.test(customAttributeValue)
|
/#[0-9a-fA-F]{6}/.test(customAttributeValue)
|
||||||
) {
|
) {
|
||||||
style += cssAttributeKey + ":" + customAttributeValue + ";";
|
style += cssAttributeKey + ":" + customAttributeValue + ";";
|
||||||
|
delete attribs[customAttributeKey];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue