Skip to content

Commit 9063565

Browse files
authored
Merge pull request #1370 from ndjamenamarmon/1369
Bug fix for #1369
2 parents 4f54994 + 0e809bb commit 9063565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@
381381
for (var i = 0, n = atts.length; i < n; i++) {
382382
// do not re-create existing attributes
383383
if (!div.hasAttribute(atts[i].nodeName)) {
384-
div.setAttribute(atts[i].nodeName, atts[i].nodeValue);
384+
div.setAttribute(atts[i].nodeName, atts[i].value);
385385
}
386386
}
387387

0 commit comments

Comments
 (0)