feedparser
Advanced tools
Comparing version 0.4.3 to 0.4.4
@@ -328,3 +328,10 @@ /********************************************************************** | ||
case('link'): | ||
self.meta.link = getValue(self.stack[0][el]); | ||
if (Array.isArray(self.stack[0][el])) { // How anyone thinks this is valid is beyond me... | ||
self.stack[0][el].forEach(function(link){ | ||
if(!self.meta.link && Object.keys(link['@']).length === 0) | ||
self.meta.link = getValue(link); | ||
}); | ||
} else { | ||
self.meta.link = getValue(self.stack[0][el]); | ||
} | ||
break; | ||
@@ -331,0 +338,0 @@ case('atom:link'): |
@@ -5,3 +5,3 @@ { | ||
"description": "Robust RSS, Atom, and RDF feed parsing using sax js", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
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
26040
569