Skip to content

Commit

Permalink
Update transformPaper.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
HoorayTritium committed Sep 28, 2023
1 parent 1b05235 commit 2a6cd7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/transformer/transformPaper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ const ipsjQuotation = (
})
const authorsStr = authors.reduce((accumulator, currentValue, currentIndex) => {
if (currentIndex === authors.length - 1 && language === 'english') {
const separater = authors.length > 1 ? ', and ' : ' and '
const separater = authors.length > 2 ? ', and ' : ' and '
return accumulator + separater + currentValue
} else return accumulator + ', ' + currentValue
})
Expand Down

0 comments on commit 2a6cd7e

Please sign in to comment.