Notes were copied as raw HTML if more than one empty paragraph

This commit is contained in:
Dan Stillman 2011-08-04 05:49:51 +00:00
parent 2900dcc6db
commit ea20a4067f

View File

@ -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) {