Handle image/svg+xml attachments
This commit is contained in:
parent
5e96a73744
commit
bdb5842d75
1
mbox2web
1
mbox2web
|
@ -102,6 +102,7 @@ def save_part(msg, disposition):
|
|||
"application/vnd.oasis.opendocument.text": ".odt",
|
||||
"text/x-perl": ".pl",
|
||||
"application/pgp-signature": ".pgp",
|
||||
"image/svg+xml": ".svg",
|
||||
}[content_type]
|
||||
|
||||
name = msg.get_param("name") or "(data)"
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<div class="partouter"> 1000
|
||||
<div class="partheader">
|
||||
image/svg+xml
|
||||
</div>
|
||||
<div class="partinner">
|
||||
<a href="{{url}}">{{name}}</a>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue