summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2009-07-31 02:58:31 +0000
committersvncommit <devs@roundcube.net>2009-07-31 02:58:31 +0000
commit5f8d31f9bee0b85495f0b601b9123790edddd6dd (patch)
treec90d0915f10aa56b67eb08e4ddf6c89ffc5c0de5
parenta80b7d416ce744b5f5ce92fce0179dd613dd0207 (diff)
better solution for HTML washing encoding issue
-rw-r--r--program/lib/washtml.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/program/lib/washtml.php b/program/lib/washtml.php
index 57145a179..efd525df3 100644
--- a/program/lib/washtml.php
+++ b/program/lib/washtml.php
@@ -246,7 +246,6 @@ class washtml
//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);
}