From 968754b09ebc1b501d0840e8c4eb3d0f617a5080 Mon Sep 17 00:00:00 2001 From: alecpl Date: Tue, 19 Apr 2011 08:23:31 +0000 Subject: - Fix regression in html conditional comments handling by washtml class --- program/lib/washtml.php | 3 ++- tests/mailfunc.php | 16 +++++++++++++++- tests/src/htmlcom.txt | 16 ++++++++++++++++ 3 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 tests/src/htmlcom.txt diff --git a/program/lib/washtml.php b/program/lib/washtml.php index 0f8dc7ee6..e8befe835 100644 --- a/program/lib/washtml.php +++ b/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