diff --git a/view/js/dropzone-factory.js b/view/js/dropzone-factory.js index e0f8e4725..160024ed0 100644 --- a/view/js/dropzone-factory.js +++ b/view/js/dropzone-factory.js @@ -29,7 +29,7 @@ var DzFactory = function (max_imagesize) { targetTextarea.setRangeText(' ' + serverResponse + ' '); } else { targetTextarea.focus(); - document.execCommand('insertText', false /*no UI*/, '\n' + serverResponse + '\n'); + document.execCommand('insertText', false /*no UI*/, serverResponse); } }); this.on('complete', function(file) {