git.iko.soy/typeable/pandoc
on master help sign in
Added MIME types for .wof and .eot.

Closes #640. i#

commit1dcd7c66ebd9e0f7aa337e784f4c2d6b14e8cebd authorJohn MacFarlane <fiddlosopher@gmail.com> dateThu 11 Oct 2012, 09:33 (14 years ago) parent01d109e
1 file changed+2
src/Text/Pandoc/MIME.hs+2
src/Text/Pandoc/MIME.hs+2
@@ -141,6 +141,7 @@ getMimeType f = M.lookup (map toLower $ drop 1 $ takeExtension f) mimeTypes
141141 ,("embl","chemical/x-embl-dl-nucleotide")
142142 ,("eml","message/rfc822")
143143 ,("ent","chemical/x-ncbi-asn1-ascii")
144+ ,("eot","application/vnd.ms-fontobject")
144145 ,("eps","application/postscript")
145146 ,("etx","text/x-setext")
146147 ,("exe","application/x-msdos-program")
@@ -460,6 +461,7 @@ getMimeType f = M.lookup (map toLower $ drop 1 $ takeExtension f) mimeTypes
460461 ,("wmv","video/x-ms-wmv")
461462 ,("wmx","video/x-ms-wmx")
462463 ,("wmz","application/x-ms-wmz")
464+ ,("woff","application/x-font-woff")
463465 ,("wp5","application/wordperfect5.1")
464466 ,("wpd","application/wordperfect")
465467 ,("wrl","model/vrml")