From fa78056ec62d5a644954ce3c04052f29827883ac Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 21 Mar 2007 19:00:03 +0000 Subject: [PATCH] replace CRLFs with LFs before copying to clipboard --- chrome/content/zotero/fileInterface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/fileInterface.js b/chrome/content/zotero/fileInterface.js index dc23d40045..730e1c48fe 100644 --- a/chrome/content/zotero/fileInterface.js +++ b/chrome/content/zotero/fileInterface.js @@ -184,7 +184,7 @@ var Zotero_File_Interface = new function() { } else { Components.classes["@mozilla.org/widget/clipboardhelper;1"] .getService(Components.interfaces.nsIClipboardHelper) - .copyString(obj.output); + .copyString(obj.output.replace(/\r\n/g, "\n")); } }