-
Notifications
You must be signed in to change notification settings - Fork 181
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
PHP Notice from the Mastermind HTML5 library #22
Comments
The PHP dom html parser and the mastermind html5 output serializer don't play nice together when you have tags nested within Along with the PHP notice, an empty This is a subtle issue and a workaround has been implemented in the above PR. TL;DR: @Mdrummond @mtift You should not see this notice anymore. |
I've implemented a much more efficient workaround for the This avoids re-parsing of the whole page html (which is great!). See above commit for details. |
We keep getting this pesky PHP notice. It needs to hunted down and made to go away.
As far as I can tell, this specific notice does not cause any problems in the AMP HTML output but we still need to try to figure out why it occurs and how to make it go away. Its probably something simple like the code of the html5 library like not doing an
isset
/!empty
check before using the variable.The text was updated successfully, but these errors were encountered: