mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix check for isOmnivoreNode
This commit is contained in:
parent
e1d7eeed01
commit
9b53b09d51
1 changed files with 1 additions and 1 deletions
|
|
@ -602,7 +602,7 @@ Readability.prototype = {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (node.parentNode && ["DIV", "SECTION"].includes(node.tagName) && !(node.id && node.id.startsWith("readability") && !this._isOmnivoreNode(node)) {
|
||||
if (node.parentNode && ["DIV", "SECTION"].includes(node.tagName) && !this._isOmnivoreNode(node) && !(node.id && node.id.startsWith("readability"))) {
|
||||
if (this._isElementWithoutContent(node)) {
|
||||
node = this._removeAndGetNext(node);
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue