diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-07-31 12:00:21 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-07-31 12:00:21 -0700 |
commit | 6dd24184765800bdedc1d28a87f9564f7f44d4f4 (patch) | |
tree | d916b72cf96b7f96dd23763cb8992cad4f970ca4 /tests/Tests/Readers | |
parent | 00662faefbca0b9889d3d79dbb2985350356d18a (diff) |
New module, Text.Pandoc.MediaBag.
Moved `MediaBag` definition and functions from Shared:
`lookupMedia`, `mediaDirectory`, `insertMedia`, `extractMediaBag`.
Removed `emptyMediaBag`; use `mempty` instead, since `MediaBag`
is a Monoid.
Diffstat (limited to 'tests/Tests/Readers')
-rw-r--r-- | tests/Tests/Readers/Docx.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Tests/Readers/Docx.hs b/tests/Tests/Readers/Docx.hs index 0eae20e22..85a02debd 100644 --- a/tests/Tests/Readers/Docx.hs +++ b/tests/Tests/Readers/Docx.hs @@ -12,7 +12,7 @@ import qualified Data.ByteString.Base64 as B64 import Text.Pandoc.Readers.Docx import Text.Pandoc.Writers.Native (writeNative) import qualified Data.Map as M -import Text.Pandoc.Shared (lookupMedia) +import Text.Pandoc.MediaBag (lookupMedia) -- We define a wrapper around pandoc that doesn't normalize in the -- tests. Since we do our own normalization, we want to make sure |