svncommit
2009-07-30 5f8d31f9bee0b85495f0b601b9123790edddd6dd
better solution for HTML washing encoding issue

1 files modified
1 ■■■■ changed files
program/lib/washtml.php 1 ●●●● patch | view | raw | blame | history
program/lib/washtml.php
@@ -246,7 +246,6 @@
    //Charset seems to be ignored (probably if defined in the HTML document)
    $node = new DOMDocument('1.0', $this->config['charset']);
    $this->extlinks = false;
    $html = mb_convert_encoding($html, 'HTML-ENTITIES', $this->config['charset']);
    @$node->loadHTML($html);
    return $this->dumpHtml($node);
  }