auto_view text/html alternative_order text/plain text text/html
That presents plain text first if it's multiply-encoded, but makes html available. In your mailcap:
text/html; /path/to/browser '%s'; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html
displays HTML in a browser window for you. mutt launches this when you choose to look at the html version.
But instead, your mailcap could have this:
text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html
which mutt interprets as "filter this through lynx and display it in the terminal" which will solve 98% of your issues. It's fast, too.
auto_view text/html alternative_order text/plain text text/html
That presents plain text first if it's multiply-encoded, but makes html available. In your mailcap:
text/html; /path/to/browser '%s'; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html
displays HTML in a browser window for you. mutt launches this when you choose to look at the html version.
But instead, your mailcap could have this:
text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html
which mutt interprets as "filter this through lynx and display it in the terminal" which will solve 98% of your issues. It's fast, too.