* attachment: Use mailcap for test/* except plain
This change makes attachment view using mailcap for everything
not text/plain.
* pager: Don't assume all text/* are plaintext
This change removes the assumption that all text/* are humain readable
plaintext.
Closes #430
else if (ascii_strcasecmp ("enriched", b->subtype) == 0)
handler = text_enriched_handler;
else /* text body type without a handler */
- plaintext = 1;
+ plaintext = 0;
}
else if (b->type == TYPEMESSAGE)
{
switch (m->type)
{
case TYPETEXT:
- /* we can display any text, overridable by auto_view */
- return 0;
+ if (!ascii_strcasecmp ("plain", m->subtype))
+ return 0;
break;
-
case TYPEAPPLICATION:
if((WithCrypto & APPLICATION_PGP) && mutt_is_application_pgp(m))
return 0;