thomascube
2011-09-28 63d6e6dfc35e6d82c4a64f37c408794c163becd4
program/lib/washtml.php
@@ -274,7 +274,7 @@
    // 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);