Skip to content

TestCase: suppress DOMDocument HTML5 tag errors#198

Merged
nilmerg merged 1 commit intomainfrom
fix/tests-throws-error-for-html5
Apr 20, 2026
Merged

TestCase: suppress DOMDocument HTML5 tag errors#198
nilmerg merged 1 commit intomainfrom
fix/tests-throws-error-for-html5

Conversation

@sukhwinder33445
Copy link
Copy Markdown
Contributor

Use option LIBXML_NOERROR for loadHTML() to suppress invalid tag errors caused by HTML5 elements (e.g. <time>) that libxml2 does not recognize.

see: https://www.php.net/manual/en/domdocument.loadhtml.php

Use option `LIBXML_NOERROR` for `loadHTML()` to suppress invalid tag
errors caused by HTML5 elements (e.g. <time>) that libxml2 does not
recognize.

see: https://www.php.net/manual/en/domdocument.loadhtml.php
@sukhwinder33445 sukhwinder33445 requested a review from nilmerg April 17, 2026 09:26
@sukhwinder33445 sukhwinder33445 self-assigned this Apr 17, 2026
@cla-bot cla-bot bot added the cla/signed label Apr 17, 2026
@sukhwinder33445 sukhwinder33445 added bug Something isn't working and removed cla/signed labels Apr 17, 2026
@nilmerg nilmerg merged commit 131cf2b into main Apr 20, 2026
13 checks passed
@nilmerg nilmerg deleted the fix/tests-throws-error-for-html5 branch April 20, 2026 07:10
@lippserd lippserd added this to the v0.11.0 milestone Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants