Only put periods after capital latin letters
This commit is contained in:
parent
daf1899c72
commit
19a6b08b51
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ Zotero.Utilities = {
|
|||
var newFirstName = '';
|
||||
for(var i=0, n=names.length; i<n; i++) {
|
||||
newFirstName += names[i];
|
||||
if(names[i].length == 1) newFirstName += '.';
|
||||
if(names[i].match(/^[A-Z]$/)) newFirstName += '.';
|
||||
newFirstName += ' ';
|
||||
}
|
||||
firstName = newFirstName.trim();
|
||||
|
|
Loading…
Reference in a new issue