diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-04-21 12:11:48 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-04-21 12:11:48 -0700 |
commit | ec30d56e1948166a979a33b1befade3cd37fbd82 (patch) | |
tree | 23f654d213c182395a0a49aab4c133a2e8c6c49a /src | |
parent | 26fee8bfee309b7887d1c45d5ab9ff44467efbaf (diff) | |
download | pandoc-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')
-rw-r--r-- | src/Text/Pandoc/MIME.hs | 2 |
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") |