A fork of https://bitbucket.org/fivefilters/php-readability
Full Changelog: https://github.com/j0k3r/php-readability/compare/2.0.2...2.0.3
psr/log
2.0 & 3.0 by @j0k3r in https://github.com/j0k3r/php-readability/pull/79
Full Changelog: https://github.com/j0k3r/php-readability/compare/2.0.1...2.0.2
::clean()
method instead of preg_replace
by @Kdecherf in https://github.com/j0k3r/php-readability/pull/74 (backported from 1.x)Full Changelog: https://github.com/j0k3r/php-readability/compare/2.0.0...2.0.1
::clean()
method instead of preg_replace
by @Kdecherf in https://github.com/j0k3r/php-readability/pull/74
Full Changelog: https://github.com/j0k3r/php-readability/compare/1.2.9...1.2.10
loadHtml()
was originally called in __construct
avoiding ability to use a proper logger (because it's defined after), see https://github.com/j0k3r/php-readability/issues/59. The method has now moved to init()
to fix that.isPhrasingContent
conditions, text node replacement by @Kdecherf in https://github.com/j0k3r/php-readability/pull/73
Full Changelog: https://github.com/j0k3r/php-readability/compare/1.2.9...2.0.0
Full Changelog: https://github.com/j0k3r/php-readability/compare/1.2.8...1.2.9
figure
tags without ending by @Kdecherf in https://github.com/j0k3r/php-readability/pull/66
Full Changelog: https://github.com/j0k3r/php-readability/compare/1.2.7...1.2.8
The main change is related to the drop of electrolinux/php-html5lib (which was quite old and incompatible with the upcoming Composer 2.0) in flavor to masterminds/html5 (which is still maintained, compatible with Composer 2.0 and already used by Symfony).
That replacement should be transparent but if you find an issue, don't hesitate to report them.
Also, the HTML5 parser wasn't the one defined by default, so if you never forced the parser
option, you won't notice any changes.
PRs merged: