mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Adding WAI-AREA support for <article> to support LiveJournal.
This commit is contained in:
parent
ce3347f388
commit
28061bc987
1 changed files with 1 additions and 1 deletions
2
vendor/readability/readability.py
vendored
2
vendor/readability/readability.py
vendored
|
@ -273,7 +273,7 @@ class Document:
|
|||
self.TEXT_LENGTH_THRESHOLD)
|
||||
candidates = {}
|
||||
ordered = []
|
||||
for elem in self.tags(self._html(), "p", "pre", "td", "section"):
|
||||
for elem in self.tags(self._html(), "p", "pre", "td", "section", "article"):
|
||||
parent_node = elem.getparent()
|
||||
if parent_node is None:
|
||||
continue
|
||||
|
|
Loading…
Add table
Reference in a new issue