Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update codebase to support Readability 2 #286

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Kdecherf
Copy link
Collaborator

@Kdecherf Kdecherf commented Feb 4, 2022

No description provided.

The dom property is initialized by Readability::loadHtml() which has
been moved from __construct() to init() in v2; thus we must call init()
early. We also remove the previous init() call to prevent any issues as
it is not idempotent.

Signed-off-by: Kevin Decherf <[email protected]>
The stripping of invisible elements is now done by Readability 2

Signed-off-by: Kevin Decherf <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants