summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-12-20 14:35:37 +0000
committeralecpl <alec@alec.pl>2010-12-20 14:35:37 +0000
commit8127289ba842c18b3d31125e6cd87470bceb2d29 (patch)
tree35829c954f03aeb4d4fb95cc59b6cb745cc04c38 /program/steps
parent531922676eb8c08cf84fdc7f20394ab6466fbe57 (diff)
- Revert wrong optimization in r4354
Diffstat (limited to 'program/steps')
-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 280dd430c..750cf6f61 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -735,7 +735,7 @@ function rcmail_plain_body($body, $flowed=false)
// find/mark quoted lines...
for ($n=0, $cnt=count($a_lines); $n < $cnt; $n++) {
if ($a_lines[$n][0] == '>' && preg_match('/^(>+\s*)+/', $a_lines[$n], $regs)) {
- $q = strlen(rtrim($regs[0]));
+ $q = strlen(preg_replace('/\s/', '', $regs[0]));
$a_lines[$n] = substr($a_lines[$n], strlen($regs[0]));
if ($q > $quote_level)