Docx reader: removed readDocxWithWarnings (API change).
No longer necessary with pandoc 2.0 framework.
This commit is contained in:
parent
35e9da28b8
commit
8e0032940f
1 changed files with 1 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue