Prevent errors in simplexml_load_strings

pdftohtml sometimes adds ```<b>``` and ```<i>``` tags, but they're sometimes nested in a way that crashes simplexml_load_string (```<b><i></b></i>``` for example).