aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-04-15 11:53:14 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-04-15 11:53:46 +0200
commit8e0032940fc385844674bc482efde5e24aeed28f (patch)
treee2a336c2a5ee90d48acf28058bd9d800cfdba276 /src/Text/Pandoc
parent35e9da28b8698890def63de74e34230afe442211 (diff)
downloadpandoc-8e0032940fc385844674bc482efde5e24aeed28f.tar.gz
Docx reader: removed readDocxWithWarnings (API change).
No longer necessary with pandoc 2.0 framework.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Readers/Docx.hs10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/Text/Pandoc/Readers/Docx.hs b/src/Text/Pandoc/Readers/Docx.hs
index a5efdae57..683277993 100644
--- a/src/Text/Pandoc/Readers/Docx.hs
+++ b/src/Text/Pandoc/Readers/Docx.hs
@@ -71,8 +71,7 @@ implemented, [-] means partially implemented):
-}
module Text.Pandoc.Readers.Docx
- ( readDocxWithWarnings
- , readDocx
+ ( readDocx
) where
import Codec.Archive.Zip
@@ -117,13 +116,6 @@ readDocx opts bytes
readDocx _ _ =
throwError $ PandocSomeError "couldn't parse docx file"
--- TODO remove this for 2.0:
-readDocxWithWarnings :: PandocMonad m
- => ReaderOptions
- -> B.ByteString
- -> m Pandoc
-readDocxWithWarnings = readDocx
-
data DState = DState { docxAnchorMap :: M.Map String String
, docxMediaBag :: MediaBag
, docxDropCap :: Inlines