+ if (no_text_part || (html_body && (strcmp (tny_mime_part_get_content_type (html_body), "text/html")==0))) {
+ forward_as_attach = TRUE;
+ new_msg = modest_formatter_attach (formatter, msg, header);
+ } else {
+ forward_as_attach = FALSE;
+ new_msg = modest_formatter_inline (formatter, body, header,
+ attachments);
+ }