node-readability
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "node-readability", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"author": "Zihua Li", | ||
@@ -5,0 +5,0 @@ "description": "Turning any web page into a clean view.", |
@@ -481,3 +481,6 @@ var url = require("url"); | ||
var src = imgs[i].getAttribute('src'); | ||
imgs[i].setAttribute('src', fixLink(src)); | ||
if(src) | ||
{ | ||
imgs[i].setAttribute('src', fixLink(src)); | ||
} | ||
} | ||
@@ -488,3 +491,6 @@ | ||
var href = as[i].getAttribute('href'); | ||
as[i].setAttribute('href', fixLink(href)); | ||
if(href) | ||
{ | ||
as[i].setAttribute('href', fixLink(href)); | ||
} | ||
} | ||
@@ -491,0 +497,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33899
10
691