Fix Zotero crash pasting in creator with certain leading whitespace
This commit is contained in:
parent
5d54dd9fbf
commit
04fa4a0943
1 changed files with 1 additions and 1 deletions
|
@ -1688,7 +1688,7 @@
|
|||
|
||||
var otherFields = this.getCreatorFields(row);
|
||||
otherFields[creatorField] = value;
|
||||
var lastName = otherFields.lastName;
|
||||
var lastName = otherFields.lastName.trim();
|
||||
|
||||
//Handle \n\r and \n delimited entries
|
||||
var rawNameArray = lastName.split(/\r\n?|\n/);
|
||||
|
|
Loading…
Reference in a new issue