- new_msg = modest_formatter_inline (formatter, body, header, attachments);
+ if (strcmp (tny_mime_part_get_content_type (body), "text/html")==0)
+ new_msg = modest_formatter_attach (formatter, msg, header);
+ else
+ new_msg = modest_formatter_inline (formatter, body, header, attachments);