git.iko.soy/typeable/pandoc
on master help sign in
Fixed shadowing warning.
commitc24b7991aa48c8628308ffddd22cee23e3126926 authorJohn MacFarlane <jgm@berkeley.edu> dateFri 8 Jun 2012, 11:12 (14 years ago) parent9fc72d1
1 file changed+1−1
src/Text/Pandoc/Biblio.hs+1−1
src/Text/Pandoc/Biblio.hs+1−1
@@ -138,7 +138,7 @@ toCslCite c
138138 ("",(x:_),AuthorInText) | not (isPunct x)
139139 -> [Str ",",Space] ++ s
140140 _ -> s
141− isPunct (Str (c:_)) = isPunctuation c
141+ isPunct (Str (x:_)) = isPunctuation x
142142 isPunct _ = False
143143 citMode = case citationMode c of
144144 AuthorInText -> (True, False)