diff --git a/src/HakyllBibTex.hs b/src/HakyllBibTex.hs index 99a3587..cc7550a 100644 --- a/src/HakyllBibTex.hs +++ b/src/HakyllBibTex.hs @@ -87,7 +87,7 @@ lookupBibEntry name (BibFile es) = -------------------------------------------------------------------------------- formatAuthors :: String -> String formatAuthors auth = - let auths = splitOn "and" auth + let auths = splitOn " and" auth swapped = fmap formatAuthor auths finalSep = case (length auths) of 1 -> ""