From 649cc19cfc0be218719e106680eba908bbb3d583 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Mon, 17 Sep 2012 08:22:44 -0400
Subject: [PATCH] Fix HTML special characters handling in message list/header display (#1488523)

---
 CHANGELOG                       |    1 +
 program/include/rcube_utils.php |    3 ---
 2 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index 8a010a4..61eced8 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
 CHANGELOG Roundcube Webmail
 ===========================
 
+- Fix HTML special characters handling in message list/header display (#1488523)
 - List related text/html part as attachment in plain text mode (#1488677)
 - Use IMAP BINARY (RFC3516) extension to fetch message/part bodies
 - Fix folder creation under public namespace root (#1488665)
diff --git a/program/include/rcube_utils.php b/program/include/rcube_utils.php
index b278431..bf2b0db 100644
--- a/program/include/rcube_utils.php
+++ b/program/include/rcube_utils.php
@@ -250,9 +250,6 @@
 
             $out = strtr($str, $encode_arr);
 
-            // avoid douple quotation of &
-            $out = preg_replace('/&amp;([A-Za-z]{2,6}|#[0-9]{2,4});/', '&\\1;', $out);
-
             return $newlines ? nl2br($out) : $out;
         }
 

--
Gitblit v1.9.1