commit ea20a4067f15c6975736daffe3d65e139ec5fd65
parent 2900dcc6db787c0985c438031129cb9ddc01e63e
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 4 Aug 2011 05:49:51 +0000
Notes were copied as raw HTML if more than one empty paragraph
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/quickCopy.js b/chrome/content/zotero/xpcom/quickCopy.js
@@ -203,7 +203,7 @@ Zotero.QuickCopy = new function() {
+ noteContent
// is the only HTML entity we allow in
// notes, and it's not valid XML
- .replace(' ', ' ')
+ .replace(/ /g, ' ')
+ '</div>');
}
catch (e) {