aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2021-04-15 12:34:28 -0700
committerJohn MacFarlane <[email protected]>2021-04-15 12:34:28 -0700
commit9bb168100a0ce69cf0f11a2c83f9218a2b5baf6d (patch)
tree91e2b937a81329e1456771cc97f39365a5fbd525 /src/Text
parent2d60524de43d59ffb1763a33a15cc2ecce613ecf (diff)
Markdown reader: fix regression with -@citekey.issue7219
This was previously parsed as an author-in-text suppress-author citation.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/Markdown.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs
index 6c3947a81..5e5a1bc30 100644
--- a/src/Text/Pandoc/Readers/Markdown.hs
+++ b/src/Text/Pandoc/Readers/Markdown.hs
@@ -1500,7 +1500,7 @@ inline = do
'\145' -> smart
'\8220' -> smart
'\147' -> smart
- '-' -> smart
+ '-' -> smart <|> cite
'.' -> smart
'&' -> return . B.singleton <$> charRef
':' -> emoji