aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Citeproc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-06-28 13:34:12 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-06-28 13:34:12 -0700
commit97b0aa667cce07e6552d0abb4f93469ba14f4eb0 (patch)
treeb02dca8e312fa467ea889cbb34d61410a0b76968 /src/Text/Pandoc/Citeproc
parentf045e59248116228093bfebf03ce9f7f4f0cc4ce (diff)
downloadpandoc-97b0aa667cce07e6552d0abb4f93469ba14f4eb0.tar.gz
Allow `$` characters in bibtex keys.
Closes #7409.
Diffstat (limited to 'src/Text/Pandoc/Citeproc')
-rw-r--r--src/Text/Pandoc/Citeproc/BibTeX.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Citeproc/BibTeX.hs b/src/Text/Pandoc/Citeproc/BibTeX.hs
index 1fe4a2730..c178de6e9 100644
--- a/src/Text/Pandoc/Citeproc/BibTeX.hs
+++ b/src/Text/Pandoc/Citeproc/BibTeX.hs
@@ -868,7 +868,7 @@ fieldName = resolveAlias . T.toLower
isBibtexKeyChar :: Char -> Bool
isBibtexKeyChar c =
- isAlphaNum c || c `elem` (".:;?!`'()/*@_+=-[]*&" :: [Char])
+ isAlphaNum c || c `elem` (".:;?!`'()$/*@_+=-[]*&" :: [Char])
bibItem :: BibParser Item
bibItem = do