diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-12-20 14:35:37 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-12-20 14:35:37 +0000 |
| commit | dc82f4d1b2dd46d311be648bb2f3aa73b7975c7c (patch) | |
| tree | 31541136bfa1cc63b35e043f3e70d5f9166cd0ae /roundcubemail/program/steps | |
| parent | ba8d3c2be7e7f6d4f8ff62acdbf233e48cc8b688 (diff) | |
- Revert wrong optimization in r4354
git-svn-id: https://svn.roundcube.net/trunk@4355 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
| -rw-r--r-- | roundcubemail/program/steps/mail/func.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index 280dd430c..750cf6f61 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/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) |
