Skip to content

Commit b0d668e

Browse files
committed
Don’t ‘eat spaces’ when reforming csl family name
Fixes #4910
1 parent 7ca7a2b commit b0d668e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/csl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ function authorToCslName(
309309
const parts = author.split(" ");
310310
if (parts.length > 0) {
311311
const given = parts.shift() || "";
312-
const family = parts.length > 0 ? parts.join("") : "";
312+
const family = parts.length > 0 ? parts.join(" ") : "";
313313
return {
314314
family,
315315
given,

0 commit comments

Comments
 (0)