Fix flowed lines recognition

pull/191/head
Aleksander Machniak 11 years ago
parent d9d276ea70
commit d41367492d

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

Loading…
Cancel
Save