aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/MIME.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-04-21 12:11:48 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-04-21 12:11:48 -0700
commitec30d56e1948166a979a33b1befade3cd37fbd82 (patch)
tree23f654d213c182395a0a49aab4c133a2e8c6c49a /src/Text/Pandoc/MIME.hs
parent26fee8bfee309b7887d1c45d5ab9ff44467efbaf (diff)
downloadpandoc-ec30d56e1948166a979a33b1befade3cd37fbd82.tar.gz
Mime: Use the alias application/eps for eps.
Instead of application/postscript. This will ensure that we retain the eps extension after reading the image into a mediabag and writing it again. See #2067.
Diffstat (limited to 'src/Text/Pandoc/MIME.hs')
-rw-r--r--src/Text/Pandoc/MIME.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/MIME.hs b/src/Text/Pandoc/MIME.hs
index 2f37c1b83..cb7debb2e 100644
--- a/src/Text/Pandoc/MIME.hs
+++ b/src/Text/Pandoc/MIME.hs
@@ -174,7 +174,7 @@ mimeTypesList = -- List borrowed from happstack-server.
,("eml","message/rfc822")
,("ent","chemical/x-ncbi-asn1-ascii")
,("eot","application/vnd.ms-fontobject")
- ,("eps","application/postscript")
+ ,("eps","application/eps")
,("etx","text/x-setext")
,("exe","application/x-msdos-program")
,("ez","application/andrew-inset")