aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-02-03 20:38:49 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2020-02-03 20:38:49 -0800
commit30962e2e9da335a436fce0fe6ba417adbebdeee0 (patch)
treeed10b8edaa25057e6b81c1482042e5e64f177016 /src
parent1ea5b1802072fe2724977fa859c0e5b48f15917d (diff)
downloadpandoc-30962e2e9da335a436fce0fe6ba417adbebdeee0.tar.gz
Allow & in LaTeX citation keys.
Closes #6110.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index 27d166f63..b11a04f3b 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -696,7 +696,7 @@ citationLabel = do
<* optional spaces
<* optional (symbol ',')
<* optional spaces)
- where bibtexKeyChar = ".:;?!`'()/*@_+=-[]" :: [Char]
+ where bibtexKeyChar = ".:;?!`'()/*@_+=-&[]" :: [Char]
cites :: PandocMonad m => CitationMode -> Bool -> LP m [Citation]
cites mode multi = try $ do