diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml index fdd9a1841..5b1130662 100644 --- a/chrome/content/zotero/bindings/itembox.xml +++ b/chrome/content/zotero/bindings/itembox.xml @@ -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/);