Disable inline rendering of SVG attachments

Like TIFF, they are now treated as binary files.
pull/1/head
Scott Nonnenberg
parent 4ccddeaccc
commit 951ae6d52c

@ -9,7 +9,8 @@ const SUPPORTED_IMAGE_MIME_TYPES: MIMETypeSupportMap = {
'image/bmp': true,
'image/gif': true,
'image/jpeg': true,
'image/svg+xml': true,
// No need to support SVG
'image/svg+xml': false,
'image/webp': true,
'image/x-xbitmap': true,
// ICO

Loading…
Cancel
Save