aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-08-11 21:15:27 +0200
committerGitHub <noreply@github.com>2016-08-11 21:15:27 +0200
commit1955ee9c72286c404f5f2376edff6b3d22e64004 (patch)
tree66a421f9832e3108f0ec3e4cf20710652e184178 /src/Text/Pandoc
parent81311a7debc85b44968700c425dc334134d256e7 (diff)
parentf9afc0d3782cac05f0e8e9b39d30ca29d934bdf2 (diff)
downloadpandoc-1955ee9c72286c404f5f2376edff6b3d22e64004.tar.gz
Merge pull request #3048 from tarleb/latex-mini-fix
LaTeX reader: drop duplicate `*` in bibtexKeyChars
Diffstat (limited to 'src/Text/Pandoc')
-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 10e2b9833..cb6b183f9 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -1282,7 +1282,7 @@ citationLabel = optional sp *>
<* optional sp
<* optional (char ',')
<* optional sp)
- where isBibtexKeyChar c = isAlphaNum c || c `elem` (".:;?!`'()/*@_+=-[]*" :: String)
+ where isBibtexKeyChar c = isAlphaNum c || c `elem` (".:;?!`'()/*@_+=-[]" :: String)
cites :: CitationMode -> Bool -> LP [Citation]
cites mode multi = try $ do