Comparing version 0.1.1 to 0.1.2
@@ -260,5 +260,5 @@ | ||
attr = link.attributes[j]; | ||
attrs[attr.name.toLowerCase()] = attr.value.toLowerCase(); | ||
attrs[attr.name.toLowerCase()] = attr.value; | ||
} | ||
if (attrs.rel === 'stylesheet') { | ||
if (attrs.rel && attrs.rel.toLowerCase() === 'stylesheet') { | ||
if (options.applyLinkTags) results.push(attrs.href); | ||
@@ -265,0 +265,0 @@ if (options.removeLinkTags) link.parentNode.removeChild(link); |
{ | ||
"name": "juice", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Inlines css into html source", | ||
@@ -5,0 +5,0 @@ "scripts": { |
21335