From bc46f4c67c1a9c05e36b6a8cd4d8c2c7acd6d984 Mon Sep 17 00:00:00 2001 From: alec Date: Fri, 10 Sep 2010 13:22:54 +0000 Subject: - Don't trim spaces from the end of line when converting to format=flowed git-svn-id: https://svn.roundcube.net/trunk@3959 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_message.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/include') diff --git a/roundcubemail/program/include/rcube_message.php b/roundcubemail/program/include/rcube_message.php index 8ba607ce1..ba59bae07 100644 --- a/roundcubemail/program/include/rcube_message.php +++ b/roundcubemail/program/include/rcube_message.php @@ -621,7 +621,7 @@ class rcube_message foreach (preg_split('/\r?\n/', trim($text)) as $line) { // don't wrap quoted lines (to avoid wrapping problems) if ($line[0] != '>') - $line = rc_wordwrap(rtrim($line), $length - 1, " \r\n"); + $line = rc_wordwrap(rtrim($line, "\r\n"), $length - 1, " \r\n"); $out .= $line . "\r\n"; } -- cgit v1.2.3