git.iko.soy/typeable/pandoc
on master help sign in
Changed mime type for otf to application/vnd.ms-opentype.

Closes #1761. This is needed for epub3 validation. See http://www.idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.3.1

commit333fc60684fc7dd3d0ad7169adbbb5be5ab9f634 authorJohn MacFarlane <jgm@berkeley.edu> dateSun 16 Nov 2014, 20:29 (12 years ago) parent46d343f
1 file changed+1−1
src/Text/Pandoc/MIME.hs+1−1
src/Text/Pandoc/MIME.hs+1−1
@@ -328,7 +328,7 @@ mimeTypesList = -- List borrowed from happstack-server.
328328 ,("oth","application/vnd.oasis.opendocument.text-web")
329329 ,("otp","application/vnd.oasis.opendocument.presentation-template")
330330 ,("ots","application/vnd.oasis.opendocument.spreadsheet-template")
331− ,("otf","application/x-font-opentype")
331+ ,("otf","application/vnd.ms-opentype")
332332 ,("ott","application/vnd.oasis.opendocument.text-template")
333333 ,("oza","application/x-oz-application")
334334 ,("p","text/x-pascal")