mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Return non-text elements if no text content found after parsing in readability
This commit is contained in:
parent
35e3e347d6
commit
24373018af
1 changed files with 1 additions and 1 deletions
|
|
@ -1579,7 +1579,7 @@ Readability.prototype = {
|
|||
});
|
||||
|
||||
// But first check if we actually have something
|
||||
if (!this._attempts[0].textLength) {
|
||||
if (!this._attempts[0].textLength && !this._attempts[0].articleContent) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue