From d357a03dedc55571de780ec6b2e3fbb3f3961348 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 5 May 2012 17:06:28 +0200 Subject: [PATCH] Fixed removing of double empty lines. --- .../javascripts/app/controllers/agent_ticket_zoom.js.coffee | 1 + 1 file changed, 1 insertion(+) 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 d06cd0c1e..05d043433 100644 --- a/app/assets/javascripts/app/controllers/agent_ticket_zoom.js.coffee +++ b/app/assets/javascripts/app/controllers/agent_ticket_zoom.js.coffee @@ -72,6 +72,7 @@ class Index extends App.Controller # build html body article['html'] = article.body.trim() article['html'].replace(/\n\n/m, "\n"); + article['html'].replace(/\n\r\n\r/m, "\n"); article['html'] = window.linkify( article['html'] ) notify = "" + T('See more') + "" @article_changed = false