GNOME Bugzilla – Bug 776329
Mailman footers not displayed when message contains HTML
Last modified: 2021-07-05 13:25:45 UTC
If a message sent to a mailman list contains a HTML part (either solely as a text/html part, or as part of a multipart/alternative with a corresponding text/plain part), MM will wrap it in a multipart/mixed container and append the footer as an text/plain, disposition inline part. Since we ignore text/plain parts whet getting HTML, the footer is not being displayed. See also Bug 769868 Comment 4 and Bug 714317 Comment 12.
Further, this is problematic in the reverse direction - getting a plain text version of the message for the message preview does not include a plain text version of the HTML content. E.g. Attachment 342309 [details] on Bug 714317.
I guess to be clear, there's two things that need to happen here, for multipart/mixed containers: 1. When extracting HTML content, the plain text part needs to be converted into HTML with some basic formatting (e.g. inserting BR elements), and 2. When extracting plain text content, then the HTML needs to be converted to plain text (with appropriate formatting, etc). This will probably need to be handled as part of, or after Bug 769868.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/geary/-/issues/ Thank you for your understanding and your help.