diff --git a/app/assets/javascripts/app/controllers/agent_ticket_zoom.js.coffee b/app/assets/javascripts/app/controllers/agent_ticket_zoom.js.coffee index d2c97379e..ad03ca739 100644 --- a/app/assets/javascripts/app/controllers/agent_ticket_zoom.js.coffee +++ b/app/assets/javascripts/app/controllers/agent_ticket_zoom.js.coffee @@ -307,7 +307,7 @@ class Index extends App.Controller # add quoted text if needed if window.Session['UISeletion'] body = @el.find('[name="body"]').val() || '' - selection = window.Session['UISeletion'] + selection = window.Session['UISeletion'].trim() selection = selection.replace /^(.*)$/mg, (match) => '> ' + match body = body + selection