Update: html5lib (bottom of question) seems to get close, I just need to improve my understanding of how it\'s used.
html5lib
I am attempting to
FluentDOM uses the DOMDocument but blocks loading notices and warnings. It does not have an own parser. You can add your own loaders (For example one that uses the html5lib).