From 30962e2e9da335a436fce0fe6ba417adbebdeee0 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 3 Feb 2020 20:38:49 -0800 Subject: Allow & in LaTeX citation keys. Closes #6110. --- src/Text/Pandoc/Readers/LaTeX.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3