From 5f8d31f9bee0b85495f0b601b9123790edddd6dd Mon Sep 17 00:00:00 2001
From: svncommit <devs@roundcube.net>
Date: Thu, 30 Jul 2009 22:58:31 -0400
Subject: [PATCH] better solution for HTML washing encoding issue

---
 program/lib/washtml.php |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/program/lib/washtml.php b/program/lib/washtml.php
index 57145a1..efd525d 100644
--- a/program/lib/washtml.php
+++ b/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);
   }

--
Gitblit v1.9.1