replace CRLFs with LFs before copying to clipboard

This commit is contained in:
Simon Kornblith 2007-03-21 19:00:03 +00:00
parent cf95e4db2a
commit fa78056ec6

View file

@ -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"));
}
}