aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Process.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-06-10 16:36:54 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-06-10 16:36:54 -0700
commitaa79b3035c3343adf1bb41b37266049a65ab5da7 (patch)
treeef8b4a30c5d15899148be8a884219b46c753849d /src/Text/Pandoc/Process.hs
parentc7dd33d5aaa30f4c95e141b10e6d8fe0212edf1e (diff)
downloadpandoc-aa79b3035c3343adf1bb41b37266049a65ab5da7.tar.gz
T.P.MIME, extensionFromMimeType: add a few special cases.
When we do a reverse lookup in the MIME table, we just get the last match, so when the same mime type is associated with several different extensions, we sometimes got weird results, e.g. `.vs` for `text/plain`. These special cases help us get the most standard extensions for mime types like `text/plain`.
Diffstat (limited to 'src/Text/Pandoc/Process.hs')
0 files changed, 0 insertions, 0 deletions