On Tue, 13 Mar 2018 01:44:22 +0100, Lars Ingebrigtsen wrote: > libxml is more strict about correctness of the input than most other > HTML parsers. I don't think there's anything we can do about this > problematic input other than ponder whether Emacs should use a different > HTML parser, which I think sounds of unlikely. :-) I see. I agree not to modify libxml. Jidanni, how about trying the following patch personally if you often get such broken mails? Though I'm not quite sure if it does not cause another problem, it fixes at least the mail in question.