summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-06-02 12:36:32 +0000
committeralecpl <alec@alec.pl>2011-06-02 12:36:32 +0000
commit187833dff94146a9b176a1ca4a5c9996809fd4a7 (patch)
tree8018d76e44be79286d116d0588b7bec0298f5432 /program/lib
parentfcbf7a12fff1a3cd8bbace46d9b61e4ce5b6a7ce (diff)
- Apply fixes from trunk
Diffstat (limited to 'program/lib')
-rw-r--r--program/lib/washtml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/washtml.php b/program/lib/washtml.php
index e8befe835..a5eeb841b 100644
--- a/program/lib/washtml.php
+++ b/program/lib/washtml.php
@@ -274,7 +274,7 @@ class washtml
// Remove invalid HTML comments (#1487759)
// Don't remove valid conditional comments
- $html = preg_replace('/<!--[^->[]*>/', '', $html);
+ $html = preg_replace('/<!--[^->[\n]*>/', '', $html);
@$node->loadHTML($html);
return $this->dumpHtml($node);