summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/EPUB.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-10-24 22:31:36 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2016-10-24 22:31:36 +0200
commitd51e475badfcfb6e913ae4959cb1b400b4075446 (patch)
tree4941b2e6bbb9a898d429e634b1830e08c508fce5 /src/Text/Pandoc/Readers/EPUB.hs
parent7b1a9d7aca1737e197609bd17dcbdc1e8c9d9bf6 (diff)
Export Text.Pandoc.Error in Text.Pandoc.
[API change]
Diffstat (limited to 'src/Text/Pandoc/Readers/EPUB.hs')
-rw-r--r--src/Text/Pandoc/Readers/EPUB.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Readers/EPUB.hs b/src/Text/Pandoc/Readers/EPUB.hs
index 7b1546939..4c31bf1ae 100644
--- a/src/Text/Pandoc/Readers/EPUB.hs
+++ b/src/Text/Pandoc/Readers/EPUB.hs
@@ -10,8 +10,9 @@ module Text.Pandoc.Readers.EPUB
import Text.XML.Light
import Text.Pandoc.Definition hiding (Attr)
-import Text.Pandoc.Walk (walk, query)
import Text.Pandoc.Readers.HTML (readHtml)
+import Text.Pandoc.Error
+import Text.Pandoc.Walk (walk, query)
import Text.Pandoc.Options ( ReaderOptions(..), readerTrace)
import Text.Pandoc.Shared (escapeURI, collapseFilePath, addMetaField)
import Network.URI (unEscapeString)
@@ -35,8 +36,6 @@ import Control.DeepSeq (deepseq, NFData)
import Debug.Trace (trace)
-import Text.Pandoc.Error
-
type Items = M.Map String (FilePath, MimeType)
readEPUB :: ReaderOptions -> BL.ByteString -> Either PandocError (Pandoc, MediaBag)