From 4f35bec6b29d6b6b84ae4a4d64f72a139a6e8f32 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Wed, 04 Sep 2013 04:16:46 -0400 Subject: [PATCH] Don't normalize line breaks (doesn't work properly on IE) --- program/js/app.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index 5233d9c..abe267a 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -7072,7 +7072,7 @@ if (range && range.parentElement() == obj) { len = obj.value.length; - normalizedValue = obj.value.replace(/\r\n/g, "\n"); + normalizedValue = obj.value; //.replace(/\r\n/g, "\n"); // create a working TextRange that lives only in the input textInputRange = obj.createTextRange(); -- Gitblit v1.9.1