Skip to content

Commit

Permalink
Typst reader: Fix typo in unicode code point for em dash.
Browse files Browse the repository at this point in the history
This affects attributions in quote blocks.
See #10320.
  • Loading branch information
jgm committed Oct 22, 2024
1 parent b21b7ae commit 461f760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Text/Pandoc/Readers/Typst.hs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ blockHandlers = M.fromList
getField "block" fields >>= guard
body <- getField "body" fields >>= pWithContents pBlocks
attribution <-
((\x -> B.para ("\x2104\xa0" <> x)) <$>
((\x -> B.para ("\x2014\xa0" <> x)) <$>
(getField "attribution" fields >>= pWithContents pInlines))
<|> pure mempty
pure $ B.blockQuote $ body <> attribution)
Expand Down

0 comments on commit 461f760

Please sign in to comment.