Don't normalize line breaks (doesn't work properly on IE)

pull/134/head
Thomas Bruederli 11 years ago
parent 0933d66b59
commit 4f35bec6b2

@ -7072,7 +7072,7 @@ function rcube_webmail()
if (range && range.parentElement() == obj) { if (range && range.parentElement() == obj) {
len = obj.value.length; 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 // create a working TextRange that lives only in the input
textInputRange = obj.createTextRange(); textInputRange = obj.createTextRange();

Loading…
Cancel
Save