See: https://github.com/iabudiab/HTMLKit/issues/35
Use newly specified parse errors: https://html.spec.whatwg.org/multipage/parsing.html#parse-errors