diff options
author | thomascube <thomas@roundcube.net> | 2008-04-05 12:49:21 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2008-04-05 12:49:21 +0000 |
commit | e70d6ea64e711096af36b1234f8545b870ea5f45 (patch) | |
tree | 98e784b95d08418d85a17af767037e8a6e0f3f41 /program/steps/mail/func.inc | |
parent | cb1330b7b10ce46e466850b27300a06ed122501e (diff) |
Apply changes from trunk to 0.1-stable
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r-- | program/steps/mail/func.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index b1ce4bd4e..79e0248c3 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -695,10 +695,10 @@ function rcmail_print_body($part, $safe=FALSE, $plain=FALSE) $quotation = ''; $q = 0; - if (preg_match('/^(>+\s*)/', $line, $regs)) + if (preg_match('/^(>+\s*)+/', $line, $regs)) { - $q = strlen(preg_replace('/\s/', '', $regs[1])); - $line = substr($line, strlen($regs[1])); + $q = strlen(preg_replace('/\s/', '', $regs[0])); + $line = substr($line, strlen($regs[0])); if ($q > $quote_level) $quotation = str_repeat('<blockquote>', $q - $quote_level); |