diff --git a/src/declaration/attributes.js b/src/declaration/attributes.js index 8fceaec705..33bfdf7907 100644 --- a/src/declaration/attributes.js +++ b/src/declaration/attributes.js @@ -31,7 +31,7 @@ // remove excess ws n = names[i].trim(); // do not override explicit entries - if (publish[n] === undefined && base[n] === undefined) { + if (n && publish[n] === undefined && base[n] === undefined) { publish[n] = null; } }