From b23632f6c3338550735336c6831e86a1b16a381b Mon Sep 17 00:00:00 2001 From: aurimasv Date: Thu, 8 Mar 2012 22:26:33 -0600 Subject: [PATCH] Revert previous fix --- chrome/content/zotero/xpcom/utilities.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js index 15c91abf4..279fd4c59 100644 --- a/chrome/content/zotero/xpcom/utilities.js +++ b/chrome/content/zotero/xpcom/utilities.js @@ -147,7 +147,7 @@ Zotero.Utilities = { } author = author.replace(/^[\s\.\,\/\[\]\:]+/, ''); - author = author.replace((useComma ? /[\s\,\/\[\]\:]+$/ : /[\s\,\/\[\]\:\.]+$/), ''); + author = author.replace(/[\s\,\/\[\]\:\.]+$/, ''); author = author.replace(/ +/, ' '); if(useComma) { // Add spaces between periods