diff --git a/mbox2web b/mbox2web index 3f6f6c8..dd60a0d 100755 --- a/mbox2web +++ b/mbox2web @@ -60,6 +60,7 @@ def save_part(msg, disposition): "text/plain": ".txt", "application/x-gzip": ".gz", # more likely tar.gz, but we can't know without looking into it which we ain't "image/gif": ".gif", + "text/x-c": ".c", }[content_type] name = msg.get_param("name") or "(data)" diff --git a/templates/attachment_text_x-c.html b/templates/attachment_text_x-c.html new file mode 100644 index 0000000..72079ff --- /dev/null +++ b/templates/attachment_text_x-c.html @@ -0,0 +1,8 @@ +