You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the DOM\HTMLDocument class for improved parsing when PHP 8.4 is available. Create a wrapper that takes an HTML string and either returns a HTMLDocument or a DOMDocument if the first one is not supported.
What feature are you requesting?
Use the
DOM\HTMLDocument
class for improved parsing when PHP 8.4 is available. Create a wrapper that takes an HTML string and either returns aHTMLDocument
or aDOMDocument
if the first one is not supported.See also: https://wiki.php.net/rfc/domdocument_html5_parser
Why is this feature necessary?
Better parsing without errors in HTML5 documents, which we usually have here.
Are you expecing side-effects?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: