More testing of mime_sniff and fix off-by-one causing trailing whitespace to not be always stripped (#12935)
[RFC] DOM HTML5 parsing and serialization support (#12111)