aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-03-18 22:54:25 -0700
committerJohn MacFarlane <[email protected]>2025-03-18 22:54:25 -0700
commit93437525a70cfd6989e6893c4c1d39c839e4ae7a (patch)
treec723d94c91ba48ba50b0f3fa3eecf50cf263182a /src
parentb5e9ae3595ee27bc194138782fbc529d15681dea (diff)
Add mime type and extension for avif.
See #10704.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/MIME.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/MIME.hs b/src/Text/Pandoc/MIME.hs
index 9104f36b3..c94cbea0e 100644
--- a/src/Text/Pandoc/MIME.hs
+++ b/src/Text/Pandoc/MIME.hs
@@ -56,6 +56,7 @@ extensionFromMimeType mimetype =
"image/vnd.djvu" -> Just "djvu"
"image/tiff" -> Just "tiff"
"image/jpeg" -> Just "jpg"
+ "image/avif" -> Just "avif"
"application/xml" -> Just "xml"
"application/ogg" -> Just "ogg"
"image/svg+xml" -> Just "svg" -- avoid svgz