The count of elements is (or at least can be) different depending on the email headers - like reply-to, etc… So rather than relying on the count and stripping the last two, find the <dt> containing the "Attachments:" label text, and then remove it and the element following it.
Here's what it looks like with this patch applied. Note the Attachments aren't in the sidebar, but still show up in the iframe.
(This is replacing #132 which is the same change, but I deleted the remote. Yay me! Yay Git!)
The count of elements is (or at least can be) different depending on the email headers - like reply-to, etc… So rather than relying on the count and stripping the last two, find the
<dt>
containing the "Attachments:" label text, and then remove it and the element following it.Here's what it looks like with this patch applied. Note the Attachments aren't in the sidebar, but still show up in the iframe.
(This is replacing #132 which is the same change, but I deleted the remote. Yay me! Yay Git!)