fix encoding of html