From ab712246f06e35478372c6ce624eb79d0c76a155 Mon Sep 17 00:00:00 2001
From: Gabriel Lewertowski <gabriel.lewertowski@gmail.com>
Date: Tue, 21 Jun 2022 19:21:34 +0200
Subject: [PATCH] Update fonts MIME following IANA recommendation (#8127)

---
 src/Text/Pandoc/MIME.hs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Text/Pandoc/MIME.hs b/src/Text/Pandoc/MIME.hs
index b8e22276f..2f9d554c8 100644
--- a/src/Text/Pandoc/MIME.hs
+++ b/src/Text/Pandoc/MIME.hs
@@ -349,7 +349,7 @@ mimeTypesList =
            ,("oth","application/vnd.oasis.opendocument.text-web")
            ,("otp","application/vnd.oasis.opendocument.presentation-template")
            ,("ots","application/vnd.oasis.opendocument.spreadsheet-template")
-           ,("otf","application/vnd.ms-opentype")
+           ,("otf","font/otf")
            ,("ott","application/vnd.oasis.opendocument.text-template")
            ,("oza","application/x-oz-application")
            ,("p","text/x-pascal")
@@ -485,7 +485,7 @@ mimeTypesList =
            ,("ts","text/texmacs")
            ,("tsp","application/dsptype")
            ,("tsv","text/tab-separated-values")
-           ,("ttf","application/font-sfnt")
+           ,("ttf","font/ttf")
            ,("txt","text/plain")
            ,("udeb","application/x-debian-package")
            ,("uls","text/iuls")
@@ -520,7 +520,7 @@ mimeTypesList =
            ,("wmv","video/x-ms-wmv")
            ,("wmx","video/x-ms-wmx")
            ,("wmz","application/x-ms-wmz")
-           ,("woff","application/font-woff")
+           ,("woff","font/woff")
            ,("woff2","font/woff2")
            ,("wp5","application/wordperfect5.1")
            ,("wpd","application/wordperfect")