Skip to content
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

Use DOM\HTMLDocument in PHP 8.4 #221

Open
1 task done
MatzeKitt opened this issue Jun 17, 2024 · 0 comments
Open
1 task done

Use DOM\HTMLDocument in PHP 8.4 #221

MatzeKitt opened this issue Jun 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@MatzeKitt
Copy link
Member

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 a HTMLDocument or a DOMDocument 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

  • I agree to follow this project's Code of Conduct
@MatzeKitt MatzeKitt added the enhancement New feature or request label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant