mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
Don't clean periods when useComma is enabled
This commit is contained in:
parent
814b15c23a
commit
beb77864cb
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ Zotero.Utilities = {
|
|||
}
|
||||
|
||||
author = author.replace(/^[\s\.\,\/\[\]\:]+/, '');
|
||||
author = author.replace(/[\s\,\/\[\]\:\.]+$/, '');
|
||||
author = author.replace((useComma ? /[\s\,\/\[\]\:]+$/ : /[\s\,\/\[\]\:\.]+$/), '');
|
||||
author = author.replace(/ +/, ' ');
|
||||
if(useComma) {
|
||||
// Add spaces between periods
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue