summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-09-04 10:16:46 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-09-04 10:16:46 +0200
commit4f35bec6b29d6b6b84ae4a4d64f72a139a6e8f32 (patch)
tree9f691d8126a9eb2326a4582223220c038b4a52cf
parent0933d66b591056358b5e645cbd563814308998d2 (diff)
Don't normalize line breaks (doesn't work properly on IE)
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 5233d9c9a..abe267a6d 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -7072,7 +7072,7 @@ function rcube_webmail()
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();