thomascube
2011-02-09 57d261bb8524387e794951e0ed6462fa677daace
program/lib/washtml.php
@@ -273,7 +273,7 @@
      $this->config['base_url'] = '';
    // Remove invalid HTML comments (#1487759)
    $html = preg_replace('/<![^>]*>/', '', $html);
    $html = preg_replace('/<!--[^->]*>/', '', $html);
    @$node->loadHTML($html);
    return $this->dumpHtml($node);