diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-06-10 16:36:54 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-06-10 16:36:54 -0700 |
commit | aa79b3035c3343adf1bb41b37266049a65ab5da7 (patch) | |
tree | ef8b4a30c5d15899148be8a884219b46c753849d /src/Text/Pandoc/Process.hs | |
parent | c7dd33d5aaa30f4c95e141b10e6d8fe0212edf1e (diff) | |
download | pandoc-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