Thomas Bruederli
2012-11-19 1faa16fc450cb732b0419d7bea47291dea77d042
Merge branch 'master' of github.com:roundcube/roundcubemail
2 files modified
9 ■■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/include/rcube_mime.php 8 ●●●● patch | view | raw | blame | history
CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
- Fix wrapping of quoted text with format=flowed (#1488177)
- Select default_addressbook on the list in Address Book (#1488280)
- Fix so mobile phone has TYPE=CELL in exported vCard (#1488812)
- Support contacts import from CSV file (#1486399)
program/include/rcube_mime.php
@@ -539,10 +539,10 @@
        foreach ($text as $idx => $line) {
            if ($line != '-- ') {
                if ($line[0] == '>' && preg_match('/^(>+)/', $line, $regs)) {
                    $prefix = $regs[0];
                    $level = strlen($prefix);
                    $line  = rtrim(substr($line, $level));
                if ($line[0] == '>' && preg_match('/^(>+ {0,1})+/', $line, $regs)) {
                    $level  = substr_count($regs[0], '>');
                    $prefix = str_repeat('>', $level) . ' ';
                    $line   = rtrim(substr($line, strlen($regs[0])));
                    $line  = $prefix . self::wordwrap($line, $length - $level - 2, " \r\n$prefix ", false, $charset);
                }
                else if ($line) {