Alternatively, we could keep DOMDocument, but pass a parameter that would select between HTML5 only when required.
Thoughts?
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36047697-expanding-support-for-html5?utm_campaign=plugin&utm_content=tracker%2F323108&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F323108&utm_medium=issues&utm_source=github).
Hi Team,
Would you consider a patch to increase support for HTML5 by replacing the DOMDocument parser with a library such as:
https://github.com/Masterminds/html5-php or https://github.com/html5lib/
Alternatively, we could keep DOMDocument, but pass a parameter that would select between HTML5 only when required.
Thoughts?