div id="preamble" dropped from reader mode for article on plato.stanford.edu

Open
#655 3 comments 2 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 reproducing the issue at https://plato.stanford.edu/entries/qt-quantcomp/ and inspect how the reader handles the div id="preamble". Done means the introductory part of the article renders successfully in reader mode, including in Firefox Desktop and Android.

Written by the indexing model from the issue text.

Description

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

Site with issue and any steps to reproduce

https://plato.stanford.edu/entries/qt-quantcomp/

Reader mode doesn't load, the first part of entries with longer introductions.

*Edit: I also can reproduce this on Firefox-Desktop

Expected behavior

Reader mode renders the introductory part successfully

Actual behavior

Reader mode fails to render the introductory part

Does toggling Tracking Protection fix the issue? (Press the shield icon in the toolbar while on the site to see toggle)

No

Can you reproduce in Chrome (or other non-Mozilla browser)?

No

Device information
  • Android device: All
  • Fenix version: All
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.