Fix bug with authors with "and" in name.
This commit is contained in:
parent
4ac7538d0c
commit
adbb272984
|
@ -87,7 +87,7 @@ lookupBibEntry name (BibFile es) =
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
formatAuthors :: String -> String
|
formatAuthors :: String -> String
|
||||||
formatAuthors auth =
|
formatAuthors auth =
|
||||||
let auths = splitOn "and" auth
|
let auths = splitOn " and" auth
|
||||||
swapped = fmap formatAuthor auths
|
swapped = fmap formatAuthor auths
|
||||||
finalSep = case (length auths) of
|
finalSep = case (length auths) of
|
||||||
1 -> ""
|
1 -> ""
|
||||||
|
|
Loading…
Reference in New Issue