thomascube
2011-03-01 715c7961ba8ff72fe40720bb4feaa7865e57e8b9
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);