From cf0a0504344b7cb4f096d7404cbcd3eeddbe5395 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 9 Dec 2023 15:28:54 -0800 Subject: Typst reader: fix temporary regression in cite. --- src/Text/Pandoc/Readers/Typst.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Readers/Typst.hs b/src/Text/Pandoc/Readers/Typst.hs index ef83360e0..89f0da83f 100644 --- a/src/Text/Pandoc/Readers/Typst.hs +++ b/src/Text/Pandoc/Readers/Typst.hs @@ -400,7 +400,7 @@ inlineHandlers = M.fromList ,("footnote", \_ fields -> B.note <$> (getField "body" fields >>= pWithContents pBlocks)) ,("cite", \_ fields -> do - key <- getField "key" fields + VLabel key <- getField "key" fields (form :: Text) <- getField "form" fields <|> pure "normal" let citation = B.Citation -- cgit v1.2.3