From b5316d056eb785b139bb5d7d39cd3b4772caa7f4 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Sun, 12 May 2019 22:51:45 +0200 Subject: [PATCH] Implement attachment text/x-c++src --- mbox2web | 1 + templates/attachment_text_x-c++src.html | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 templates/attachment_text_x-c++src.html diff --git a/mbox2web b/mbox2web index b1c70d8..84c9a6b 100755 --- a/mbox2web +++ b/mbox2web @@ -97,6 +97,7 @@ def save_part(msg, disposition): "text/x-java": ".java", "application/x-sh": ".sh", "text/x-patch": ".patch", + "text/x-c++src": ".c++", }[content_type] name = msg.get_param("name") or "(data)" diff --git a/templates/attachment_text_x-c++src.html b/templates/attachment_text_x-c++src.html new file mode 100644 index 0000000..d2185c4 --- /dev/null +++ b/templates/attachment_text_x-c++src.html @@ -0,0 +1,8 @@ +
+
+ text/x-c++src +
+
+ {{name}} +
+