git.iko.soy/typeable/pandoc
on master help sign in
Docx reader: removed readDocxWithWarnings (API change).

No longer necessary with pandoc 2.0 framework.

commit8e0032940fc385844674bc482efde5e24aeed28f authorJohn MacFarlane <jgm@berkeley.edu> dateSat 15 Apr 2017, 11:53 (10 years ago) parent35e9da2
1 file changed+1−9
src/Text/Pandoc/Readers/Docx.hs+1−9
src/Text/Pandoc/Readers/Docx.hs+1−9
@@ -71,8 +71,7 @@ implemented, [-] means partially implemented):
7171-}
7272
7373module Text.Pandoc.Readers.Docx
74− ( readDocxWithWarnings
75− , readDocx
74+ ( readDocx
7675 ) where
7776
7877import Codec.Archive.Zip
@@ -117,13 +116,6 @@ readDocx opts bytes
117116readDocx _ _ =
118117 throwError $ PandocSomeError "couldn't parse docx file"
119118
120−-- TODO remove this for 2.0:
121−readDocxWithWarnings :: PandocMonad m
122− => ReaderOptions
123− -> B.ByteString
124− -> m Pandoc
125−readDocxWithWarnings = readDocx
126−
127119data DState = DState { docxAnchorMap :: M.Map String String
128120 , docxMediaBag :: MediaBag
129121 , docxDropCap :: Inlines