aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/MediaBag.hs
AgeCommit message (Collapse)AuthorFilesLines
2014-09-25MediaBag: Fixes Windows specific path problemsmpickering1-5/+5
Changes the internal representation to fix the problem. I haven't tested this on windows. Closes #1597
2014-08-17Remove an unnecessary import.Artyom Kazak1-1/+1
2014-08-17MIME cleanup.Artyom Kazak1-10/+10
* 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`.
2014-08-05MediaBag: Improved normalisation when writing filesMatthew Pickering1-1/+1
2014-07-31New module, Text.Pandoc.MediaBag.John MacFarlane1-0/+107
Moved `MediaBag` definition and functions from Shared: `lookupMedia`, `mediaDirectory`, `insertMedia`, `extractMediaBag`. Removed `emptyMediaBag`; use `mempty` instead, since `MediaBag` is a Monoid.