aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-04-12 00:15:35 +0200
committerbptato <nincsnevem662@gmail.com>2025-04-13 19:10:41 +0200
commitbbad382ace7457994cb62fb1a9a0a041a97fc580 (patch)
treece1aa8b726397a5a4b984e6e2e873bb252f36640
parent88901fa6560d83c3041946be43d39aab0cb5f632 (diff)
downloadchawan-bbad382ace7457994cb62fb1a9a0a041a97fc580.tar.gz
mailcap: interpret xhtml as html
it's horrible, but better than nothing.
-rw-r--r--res/mailcap1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/mailcap b/res/mailcap
index 647596ac..e25abb91 100644
--- a/res/mailcap
+++ b/res/mailcap
@@ -6,6 +6,7 @@ text/markdown; "$CHA_LIBEXEC_DIR"/md2html; x-htmloutput
text/x-ansi; "$CHA_LIBEXEC_DIR"/ansi2html -st '%{title}'; x-htmloutput; x-needsstyle
text/x-dirlist; "$CHA_LIBEXEC_DIR"/dirlist2html -t '%{title}'; x-htmloutput
text/uri-list; "$CHA_LIBEXEC_DIR"/uri2html '%{title}'; x-htmloutput
+application/xhtml+xml; cat; x-htmloutput
image/png; "$CHA_LIBEXEC_DIR"/img2html '%t' '%u'; x-htmloutput
image/jpeg; "$CHA_LIBEXEC_DIR"/img2html '%t' '%u'; x-htmloutput
image/bmp; "$CHA_LIBEXEC_DIR"/img2html '%t' '%u'; x-htmloutput