diff --git a/app/client/components/Clipboard.js b/app/client/components/Clipboard.js index d4c300e1..9dabcaea 100644 --- a/app/client/components/Clipboard.js +++ b/app/client/components/Clipboard.js @@ -154,7 +154,7 @@ Clipboard.prototype._onPaste = function(elem, event) { if (plainText === '' || plainText.charCodeAt(0) === 0xFEFF) { data = [['']]; } else { - data = tsvDecode(plainText.replace(/\r\n?/g, "\n")); + data = tsvDecode(plainText.replace(/\r\n?/g, "\n").trimEnd()); } }