git.iko.soy/typeable/pandoc
on master help sign in
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.

commitec30d56e1948166a979a33b1befade3cd37fbd82 authorJohn MacFarlane <jgm@berkeley.edu> dateSat 21 Apr 2018, 12:11 (8 years ago) parent26fee8b
1 file changed+1−1
src/Text/Pandoc/MIME.hs+1−1
src/Text/Pandoc/MIME.hs+1−1
@@ -174,7 +174,7 @@ mimeTypesList = -- List borrowed from happstack-server.
174174 ,("eml","message/rfc822")
175175 ,("ent","chemical/x-ncbi-asn1-ascii")
176176 ,("eot","application/vnd.ms-fontobject")
177− ,("eps","application/postscript")
177+ ,("eps","application/eps")
178178 ,("etx","text/x-setext")
179179 ,("exe","application/x-msdos-program")
180180 ,("ez","application/andrew-inset")