diff options
author | alecpl <alec@alec.pl> | 2010-09-10 13:22:54 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-09-10 13:22:54 +0000 |
commit | 618cb0d8dde52c2c8a181334e7a3c33fbc26c236 (patch) | |
tree | a5400d87ace97bc22622ce33c0fca2fa20f55ca9 /program | |
parent | ed302bbbedaca1d0fd71b0cbc2b6136a12f75dd4 (diff) |
- Don't trim spaces from the end of line when converting to format=flowed
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcube_message.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_message.php b/program/include/rcube_message.php index 8ba607ce1..ba59bae07 100644 --- a/program/include/rcube_message.php +++ b/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"; } |