mirror of
https://github.com/zotero/zotero.git
synced 2026-10-08 03:08:19 +00:00
replace CRLFs with LFs before copying to clipboard
This commit is contained in:
parent
cf95e4db2a
commit
fa78056ec6
1 changed files with 1 additions and 1 deletions
|
|
@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue