Subject: Re: bug#24831: shr mangling messages

From: Katsumi Yamaoka <[email-masked]>
Date: Tue, 01 Nov 2016 10:39:12 +0900

On Mon, 31 Oct 2016 10:45:58 +0800, Dan Jacobson wrote:
> Gentelmen, the "shr" program is mangling messages.

I found the cause of the problem that shr does not display the
"Hi, you have a new email..."
statement contained in the example message.  That is, the message
has a table in which the td element is omitted or lost.  Here is
a simplified html form (try `M-x shr-render-region RET' on it):

--8<---------------cut here---------------start------------->8---
<html>
  <body>
    <table>
      <tr>
<!--td-->
        <table>
          <tr>
            <td>
              Hi, you have a new email
            </td>
          </tr>
        </table>
<!--/td-->
      </tr>
    </table>
  </body>
</html>
--8<---------------cut here---------------end--------------->8---

> True, the HTML might not be perfect, but at least Chromium, Firefox,
> etc. show it fine.

Yes, what is bad is the html message, but shr should show it.