diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-16 20:29:38 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-16 20:29:38 -0800 |
commit | 333fc60684fc7dd3d0ad7169adbbb5be5ab9f634 (patch) | |
tree | 056dc7443c9a4ff2fc05a98429109a9742959bce | |
parent | 46d343f47487c330ad5f7ca0f6d97f17bcd4a98a (diff) | |
download | pandoc-333fc60684fc7dd3d0ad7169adbbb5be5ab9f634.tar.gz |
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
-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 75b4ff0d2..2fdba93e0 100644 --- a/src/Text/Pandoc/MIME.hs +++ b/src/Text/Pandoc/MIME.hs @@ -328,7 +328,7 @@ mimeTypesList = -- List borrowed from happstack-server. ,("oth","application/vnd.oasis.opendocument.text-web") ,("otp","application/vnd.oasis.opendocument.presentation-template") ,("ots","application/vnd.oasis.opendocument.spreadsheet-template") - ,("otf","application/x-font-opentype") + ,("otf","application/vnd.ms-opentype") ,("ott","application/vnd.oasis.opendocument.text-template") ,("oza","application/x-oz-application") ,("p","text/x-pascal") |