missing beginning paragraphs (www.politico.com)

Open
#571 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
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
web-dev

Research direction

Start by opening the linked Politico article in Firefox Reader View and reproducing the missing paragraphs. Inspect how Readability handles the page's two

elements; done means the reader view includes the article's beginning paragraphs, including the first three before the quoted text.

Written by the indexing model from the issue text.

Description

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

https://www.politico.com/news/2019/12/30/mark-meadows-retirement-elect-wife-friend-090838

In Firefox's reader view, the rendering starts with "Wary Republicans in the state quickly speculated that she had advance notice of Meadows' retirement." This is the 4th paragraph of the actual article.

It looks like the body of the page has two <section>s that may need to be joined. Only the second one is currently rendered in reader view.

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.