summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--benchmark/weigh-pandoc.hs6
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)
]