summaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2023-06-30 13:30:05 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2023-06-30 13:30:05 -0700
commit26a90162f0772b4545fe51ea190cf04c8435f1aa (patch)
tree11b7a7989efe077c3dba8f489ba85c0d5b24fa06 /src/Text
parent43550ebace0d9b5a4b34d2cb483472ea18bae926 (diff)
Fix typst reader for new typst-hs version.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/Typst.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Typst.hs b/src/Text/Pandoc/Readers/Typst.hs
index 31b689dd2..bec7e8a1f 100644
--- a/src/Text/Pandoc/Readers/Typst.hs
+++ b/src/Text/Pandoc/Readers/Typst.hs
@@ -59,7 +59,7 @@ readTypst _opts inp = do
case parseTypst inputName (sourcesToText sources) of
Left e -> throwError $ PandocParseError $ T.pack $ show e
Right parsed ->
- evaluateTypst readFileStrict inputName parsed >>=
+ evaluateTypst readFileStrict getCurrentTime inputName parsed >>=
either (throwError . PandocParseError . T.pack . show) pure >>=
runParserT pPandoc () inputName . F.toList >>=
either (throwError . PandocParseError . T.pack . show) pure