From d41367492dbbd7fdb074cd1374044917fc2e82df Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 12 May 2014 11:19:27 +0200 Subject: Fix flowed lines recognition --- program/lib/Roundcube/rcube_text2html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/lib/Roundcube/rcube_text2html.php') diff --git a/program/lib/Roundcube/rcube_text2html.php b/program/lib/Roundcube/rcube_text2html.php index 6032726b0..9ca3f960f 100644 --- a/program/lib/Roundcube/rcube_text2html.php +++ b/program/lib/Roundcube/rcube_text2html.php @@ -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); } -- cgit v1.2.3