Reader view omits <h2> with description on ntv.ru

Open
#548 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
web-dev

Research direction

Start by reproducing the issue at https://www.ntv.ru/novosti/2196243/ and inspect how the reader view handles the disjoint

and the main article body. Done when the h2 description is included in the extracted reader view without regressing other article extraction.

Written by the indexing model from the issue text.

Description

has-website-testcase reader-mode-has-issues

From https://bugzilla.mozilla.org/show_bug.cgi?id=1555415

Test URL: https://www.ntv.ru/novosti/2196243/

The <h2> is disjoint from the main article body so it doesn't get included.

Dominant language
JavaScript
Stars
11.5k
Forks
732
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mozilla/readability

All issues in mozilla/readability

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.