diff options
Diffstat (limited to 'js/readability.js')
-rwxr-xr-x | js/readability.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/readability.js b/js/readability.js index 6b53a15..5619c38 100755 --- a/js/readability.js +++ b/js/readability.js @@ -508,7 +508,7 @@ function removeNonContentElement(element, tagName) {
// the number of non-paragraph elements is more than actual
// paragraphs or other ominous signs (:) and elements
- if (img > p || li >= p || a >= p || p == 0 || embed > 0)
+ if (img > p || li > p || a > p || p == 0 || embed > 0)
{
descendant.parentNode.removeChild(descendant);
}
|