From 57d261bb8524387e794951e0ed6462fa677daace Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 9 Feb 2011 16:07:22 +0000 Subject: Imporove stripping of invalid comments added in r4483 --- program/lib/washtml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/lib/washtml.php b/program/lib/washtml.php index f9daadbf5..0f8dc7ee6 100644 --- a/program/lib/washtml.php +++ b/program/lib/washtml.php @@ -273,7 +273,7 @@ class washtml $this->config['base_url'] = ''; // Remove invalid HTML comments (#1487759) - $html = preg_replace('/]*>/', '', $html); + $html = preg_replace('/