From 47dcc5411ec51b6e06fa3ae68e3fd0375b88df08 Mon Sep 17 00:00:00 2001 From: alec Date: Tue, 19 Apr 2011 08:23:31 +0000 Subject: - Fix regression in html conditional comments handling by washtml class git-svn-id: https://svn.roundcube.net/trunk@4667 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/lib/washtml.php | 3 ++- roundcubemail/tests/mailfunc.php | 16 +++++++++++++++- roundcubemail/tests/src/htmlcom.txt | 16 ++++++++++++++++ 3 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 roundcubemail/tests/src/htmlcom.txt diff --git a/roundcubemail/program/lib/washtml.php b/roundcubemail/program/lib/washtml.php index 0f8dc7ee6..e8befe835 100644 --- a/roundcubemail/program/lib/washtml.php +++ b/roundcubemail/program/lib/washtml.php @@ -273,7 +273,8 @@ class washtml $this->config['base_url'] = ''; // Remove invalid HTML comments (#1487759) - $html = preg_replace('/ + + + \ No newline at end of file -- cgit v1.2.3