summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/MIME.hs
Commit message (Collapse)AuthorAge
* Update dates in copyright noticesAlbert Krewinkel2017-05-13
| | | | | This follows the suggestions given by the FSF for GPL licensed software. <https://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html>
* Stylish-haskell automatic formatting changes.John MacFarlane2017-03-04
|
* SelfContained: don't use data URIs for script or style.John MacFarlane2017-02-24
| | | | | | | | | | | | | | Instead, just use script or style tags with the content inside. The old method with data URIs prevents certain optimizations outside pandoc. Exception: data URIs are still used when a script contains `</script>` or a style contains `</`. Closes #3423. Also, in MIME, use application/javascript (not application/x-javascript).
* Added emf to mimeTypes with type application/x-msmetafile.John MacFarlane2017-02-22
| | | | See #1713.
* Use correct mime types for woff and woff2.John MacFarlane2016-11-12
| | | | Closes #3228.
* Updated copyright dates to include 2016.John MacFarlane2016-03-22
|
* Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."John MacFarlane2015-11-09
| | | | This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b.
* Use -XNoImplicitPrelude and 'import Prelude' explicitly.John MacFarlane2015-11-08
| | | | | | | This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503.
* Fixed svg handling in EPUB writer.John MacFarlane2015-05-27
| | | | | | This is a crude workaroud for #2183. A correct fix would require having openURL and fetchItem return a content encoding as well as a content type.
* Added woff2 to MIME typesAlfred Wechselberger2015-04-29
|
* Updated copyright notices to -2015. Closes #2111.John MacFarlane2015-04-26
|
* Changed mime type for otf to application/vnd.ms-opentype.John MacFarlane2014-11-16
| | | | | 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
* add mime type for WebVTTJason Ronallo2014-10-04
|
* MIME cleanup.Artyom Kazak2014-08-17
| | | | | | | * Create a type synonym for MIME type (instead of `String`). * Add `getMimeTypeDef` function. * Avoid recreating MIME type `Map`s every time. * Move “Formula-...” case handling into `getMimeType`.
* Update copyright notices for 2014, add missing noticesAlbert Krewinkel2014-05-09
|
* EPUB writer: Incorporate files linked in <video> tags.John MacFarlane2014-03-14
| | | | | | | | src and poster will both be incorporated into content.opf and the epub container. This partially address #1170. Still need to do something similar for <audio>.
* Added wmf and emf mime types.John MacFarlane2014-01-07
|
* MIME: Add entry for jfif.John MacFarlane2013-11-30
|
* MIME: In looking up extensions, drop the encoding info.John MacFarlane2013-11-19
| | | | E.g. for 'image/jpg;base64' we should lookup 'image/jpg'.
* PDF generation improvements.John MacFarlane2013-07-20
| | | | | | | | | | | * `Text.Pandoc.PDF` exports `makePDF` instead of `tex2pdf`. (API change.) * `makePDF` walks the pandoc AST and checks for the existence of images in the local directory. If they are not found, it attempts to find them, either in the directory containing the first source file, or at an absolute URL, or at a URL relative to the base URL of the first command line argument. * Closes #917.
* MIME: Support vs and fs as text/plain.John MacFarlane2013-01-17
| | | | These are used in revealjs css.
* Added MIME types for .wof and .eot.John MacFarlane2012-10-11
| | | | | Closes #640. i#
* Fixed whitespace errors.John MacFarlane2012-07-26
|
* Added webm to mime types. Closes #543.John MacFarlane2012-06-28
|
* Added `--epub-embed-font` option.John MacFarlane2012-01-30
| | | | | | * This can be repeated for multiple fonts. * Added parameter for fonts to embed to writeEPUB. * Added ttf, otf to Mime types in Text.Pandoc.MIME.
* Added 'layout-cache' to getMimeType.John MacFarlane2012-01-14
| | | | | | This ensures that the META-INF/manifest.xml for ODT files will have everything it needs. Fixes a bug using modified ODT files as `--reference-odt`.
* Added unexported Text.Pandoc.MIME.John MacFarlane2011-07-19
Moved getMimeType from Text.Pandoc.Shared to Text.Pandoc.MIME, so we won't have an API change.