-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Unable to attach logger for loadHTML #59
Comments
And for an unknown reason I moved Looks like I moved code out of the constructor into php-readability/src/Readability.php Lines 151 to 212 in ea7a62d
But moving the call of loadHtml outside the constructor create a BC.
Maybe we should add ability to define a logger right from the constructor? |
In the upcoming 2.0, |
Since 00f622e, constructor runs
loadHTML
again so we cannot attach logger before that. AndloadHTML
is private so we cannot re-run it after logger has been attached bysetLogger
.(Trying to debug why
div img + noscript img
is turned into(p img) + noscript img
preventing the wordpressnoscript
removal from triggering for some users but I cannot reproduce it.)The text was updated successfully, but these errors were encountered: