alecpl
2011-06-02 187833dff94146a9b176a1ca4a5c9996809fd4a7
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);