Skip to content

Commit

Permalink
Merge pull request #578 from NASA-IMPACT/827-add-space
Browse files Browse the repository at this point in the history
Re-add space in between multiple authors
  • Loading branch information
wrynearson authored Mar 19, 2024
2 parents f214d90 + d5341b2 commit 529ea1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/scripts/utils/references.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function formatAuthors(authors, type = 'reference') {
.trim()
.split(' ')
.map((word) => `${word[0]}.`) // add period after first letter
.join(''); // rejoin in case of multiple initials
.join(' '); // rejoin with space in case of multiple initials
return `${lastName}, ${firstNameInitialed}`;
});

Expand Down

0 comments on commit 529ea1c

Please sign in to comment.