readabilitySAX
Advanced tools
Comparing version 1.4.2 to 1.4.3
{ | ||
"name": "readabilitySAX", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "the readability script ported to a sax parser", | ||
@@ -5,0 +5,0 @@ "author": "Felix Boehm <me@feedic.com>", |
@@ -494,6 +494,4 @@ /* | ||
if(elem.children.length === 0) return; | ||
if("a" in elem.info.tagCount) return; | ||
if(elem.children.length === 1 && typeof elem.children[0] === "string") return; | ||
} | ||
else if(elem.info.tagCount.img > p ) return; | ||
if((elem.info.tagCount.li - 100) > p && tagName !== "ul" && tagName !== "ol") return; | ||
@@ -500,0 +498,0 @@ if(contentLength < 25 && (!("img" in elem.info.tagCount) || elem.info.tagCount.img > 2) ) return; |
93523
15
875