Wikipedia's h2s aren't included.
Open
Nobody has claimed this yet.
has-website-testcase
reader-mode-has-issues
top-website-issue
- Dominant language
- JavaScript
- Stars
- 11.5k
- Forks
- 732
- PR merge metrics
- No merged PRs in 30d
Description
Wikipedia's h2s are wrapped in a div that also includes edit and talk links. This seems to confuse Readability somehow, so that it doesn't include them.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue on a Wikipedia page with level-two headings, then trace Readability's heading extraction and how the surrounding div is handled. Done means Wikipedia h2 headings are included while the associated edit and talk links are not.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100