diff --git a/mbox2web b/mbox2web index b20e62c..b1c70d8 100755 --- a/mbox2web +++ b/mbox2web @@ -96,6 +96,7 @@ def save_part(msg, disposition): "text/x-python": ".py", "text/x-java": ".java", "application/x-sh": ".sh", + "text/x-patch": ".patch", }[content_type] name = msg.get_param("name") or "(data)" diff --git a/templates/attachment_text_x-patch.html b/templates/attachment_text_x-patch.html new file mode 100644 index 0000000..828063a --- /dev/null +++ b/templates/attachment_text_x-patch.html @@ -0,0 +1,8 @@ +