Allow & in LaTeX citation keys.

Closes #6110.
This commit is contained in:
John MacFarlane 2020-02-03 20:38:49 -08:00
parent 1ea5b18020
commit 30962e2e9d

View file

@ -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