From fad594fbd7b5b3bfc8d55e6df4e7f6fe9eb9425a Mon Sep 17 00:00:00 2001 From: Hanuman Singh Date: Tue, 7 Jul 2026 23:47:41 +0530 Subject: [PATCH] Fix #1012: Prevent aggressive stripping of below/bellow header wrappers --- Readability-readerable.js | 2 +- Readability.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Readability-readerable.js b/Readability-readerable.js index fa24803c..b8c841bf 100644 --- a/Readability-readerable.js +++ b/Readability-readerable.js @@ -24,7 +24,7 @@ var REGEXPS = { // Readability.js. Please keep both copies in sync. unlikelyCandidates: /-ad-|ai2html|banner|breadcrumbs|combx|comment|community|cover-wrap|disqus|extra|footer|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager|popup|yom-remote/i, - okMaybeItsACandidate: /and|article|body|column|content|main|mathjax|shadow/i, + okMaybeItsACandidate: /and|article|body|column|content|main|mathjax|shadow|below|bellow/i, }; function isNodeVisible(node) { diff --git a/Readability.js b/Readability.js index 5cff4540..9ca560d8 100644 --- a/Readability.js +++ b/Readability.js @@ -140,7 +140,7 @@ Readability.prototype = { unlikelyCandidates: /-ad-|ai2html|banner|breadcrumbs|combx|comment|community|cover-wrap|disqus|extra|footer|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager|popup|yom-remote/i, okMaybeItsACandidate: - /and|article|body|column|content|main|mathjax|shadow/i, + /and|article|body|column|content|main|mathjax|shadow|below|bellow/i, positive: /article|body|content|entry|hentry|h-entry|main|page|pagination|post|text|blog|story/i,