diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-03-15 15:00:17 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-03-15 15:00:17 +0100 |
commit | 2827570c6a6ec62f880a57d2a7db55e8363d2351 (patch) | |
tree | 119f8be02534b3bd3ddfced4cdb538288af08785 /benchmark | |
parent | 2235c2a8f78efead12e10f24823b452d86efcb2b (diff) | |
download | pandoc-2827570c6a6ec62f880a57d2a7db55e8363d2351.tar.gz |
Fixed weigh-pandoc so it compiles again.
Diffstat (limited to 'benchmark')
-rw-r--r-- | benchmark/weigh-pandoc.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmark/weigh-pandoc.hs b/benchmark/weigh-pandoc.hs index bbb92445a..b4462d747 100644 --- a/benchmark/weigh-pandoc.hs +++ b/benchmark/weigh-pandoc.hs @@ -7,7 +7,7 @@ main = do mainWith $ do func "Pandoc document" id doc mapM_ - (\(n,r) -> weighReader doc n (either (error . show) id . runPure . r def{ readerSmart = True })) + (\(n,r) -> weighReader doc n (either (error . show) id . runPure . r def{readerExtensions = pandocExtensions})) [("markdown", readMarkdown) ,("html", readHtml) ,("docbook", readDocBook) @@ -17,8 +17,8 @@ main = do mapM_ (\(n,w) -> weighWriter doc n (either (error . show) id . runPure . w def)) [("markdown", writeMarkdown) - ,("html", writeHtmlString) - ,("docbook", writeDocbook) + ,("html", writeHtml5String) + ,("docbook", writeDocbook5) ,("latex", writeLaTeX) ,("commonmark", writeCommonMark) ] |