diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-10-24 22:31:36 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-10-24 22:31:36 +0200 |
commit | d51e475badfcfb6e913ae4959cb1b400b4075446 (patch) | |
tree | 4941b2e6bbb9a898d429e634b1830e08c508fce5 /src/Text/Pandoc/Readers | |
parent | 7b1a9d7aca1737e197609bd17dcbdc1e8c9d9bf6 (diff) | |
download | pandoc-d51e475badfcfb6e913ae4959cb1b400b4075446.tar.gz |
Export Text.Pandoc.Error in Text.Pandoc.
[API change]
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r-- | src/Text/Pandoc/Readers/EPUB.hs | 5 |
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) |