Commit 60173c821eff9e01f1b8bab4f722150a4c3cf82f

Nick Wellnhofer 2018-09-11T14:08:39

Reset HTML parser input pointers on encoding failure Call xmlBufResetInput before bailing out if switching the encoding fails. Otherwise, the input pointers could be left in an invalid state. Similar to commit f9e7997e803457b714352c4d51a96104ae298d94 for the XML parser. Thanks to Yunho Kim for the report. Closes: #27