Thomas Bruederli
2013-01-18 8c293e2f280e9b4a61a8c6d83a52e0cf4c55f4eb
program/lib/Roundcube/rcube_mime.php
@@ -2,8 +2,6 @@
/*
 +-----------------------------------------------------------------------+
 | program/include/rcube_mime.php                                        |
 |                                                                       |
 | This file is part of the Roundcube Webmail client                     |
 | Copyright (C) 2005-2012, The Roundcube Dev Team                       |
 | Copyright (C) 2011-2012, Kolab Systems AG                             |
@@ -14,13 +12,11 @@
 |                                                                       |
 | PURPOSE:                                                              |
 |   MIME message parsing utilities                                      |
 |                                                                       |
 +-----------------------------------------------------------------------+
 | Author: Thomas Bruederli <roundcube@gmail.com>                        |
 | Author: Aleksander Machniak <alec@alec.pl>                            |
 +-----------------------------------------------------------------------+
*/
/**
 * Class for parsing MIME messages
@@ -484,7 +480,8 @@
                $q = strlen(str_replace(' ', '', $regs[0]));
                $line = substr($line, strlen($regs[0]));
                if ($q == $q_level && $line
                if ($q == $q_level
                    && strlen($line[$last]) > 1  // don't hit if line only consist of one single white space
                    && isset($text[$last])
                    && $text[$last][strlen($text[$last])-1] == ' '
                ) {