Docx reader: removed readDocxWithWarnings (API change).

No longer necessary with pandoc 2.0 framework.
This commit is contained in:
John MacFarlane 2017-04-15 11:53:14 +02:00
parent 35e9da28b8
commit 8e0032940f

View file

@ -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