summaryrefslogtreecommitdiff
path: root/program/steps/mail/func.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-11-12 09:16:22 +0100
committerAleksander Machniak <alec@alec.pl>2012-11-12 09:16:22 +0100
commit4340d5e63424ffdea2788701c5539c9cdc162eda (patch)
tree5f675ef121a45ae9f52e04864202ac56c07d75ea /program/steps/mail/func.inc
parentd0751fba0e98ea312ade5c6d6fdb4169cb8b5756 (diff)
Fix excessive LFs at the end of composed message with top_posting=true (#1488797)
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r--program/steps/mail/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index e4c4d8121..5e24a4311 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1594,7 +1594,7 @@ function rcmail_wrap_and_quote($text, $length = 72)
$out .= $line . "\n";
}
- return $out;
+ return rtrim($out, "\n");
}