Fix flowed lines recognition

This commit is contained in:
Aleksander Machniak
2014-05-12 11:19:27 +02:00
parent d9d276ea70
commit d41367492d

View File

@@ -163,7 +163,7 @@ class rcube_text2html
// find/mark quoted lines...
for ($n=0, $cnt=count($text); $n < $cnt; $n++) {
$flowed = false;
if ($this->config['flowed'] && ord($text[0]) == $flowed_char) {
if ($this->config['flowed'] && ord($text[$n][0]) == $flowed_char) {
$flowed = true;
$text[$n] = substr($text[$n], 1);
}