diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-09-10 13:22:54 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-09-10 13:22:54 +0000 |
| commit | bc46f4c67c1a9c05e36b6a8cd4d8c2c7acd6d984 (patch) | |
| tree | 27ee23cf9a049e59caa8336ef6d5acf1a0f14350 /roundcubemail/program/include/rcube_message.php | |
| parent | ff9a2ba43a0db7d4df271c3d2b11462c93e10325 (diff) | |
- 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
Diffstat (limited to 'roundcubemail/program/include/rcube_message.php')
| -rw-r--r-- | roundcubemail/program/include/rcube_message.php | 2 |
1 files changed, 1 insertions, 1 deletions
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"; } |
