This repository has been archived by the owner on Aug 14, 2021. It is now read-only.
v1.1.1 > The one with small changes
Hello pretty people of the PHP world.
It's monday night in this side of the world, I've just had a lovely dinner with the girlfriend and everything in my world is at peace. This is great opportunity to release a new version of Readability and maybe get some of those github stars feedback from the users.
This version includes the following changes:
- Switched from assertEquals to assertSame on unit testing to avoid weak comparisons.
- Added a safe check to avoid sending the DOMDocument as a node when scanning for node ancestors.
- Fix issue #45: Small mistake in documentation
- Fix issue #46: Added
data-src
as a image source path - Fixed bug when extracting all the image of the article (Was extracting images from the original DOM instead of the parsed one)
- Added the
->getDOMDocument()
getter to retrieve the fully parsed DOMDocument - Merged PR #48 that allows passing an array as configuration (@topotru)
Don't forget to update your dependencies, wash your hands after going to the bathroom, and do I have to tell you again to call your mom? That woman loves you. Call her right now. That composer update andreskrey/readability.php
can wait a couple of minutes.