From 2ae678dc87ed141cc3487378703d7482edfe4303 Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 20 Nov 2008 10:29:34 +0000 Subject: - Better HTML entities conversion in html2text (#1485519) git-svn-id: https://svn.roundcube.net/trunk@2070 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/bin/html2text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/bin/html2text.php') diff --git a/roundcubemail/bin/html2text.php b/roundcubemail/bin/html2text.php index e07fb3538..3839f5d34 100644 --- a/roundcubemail/bin/html2text.php +++ b/roundcubemail/bin/html2text.php @@ -22,7 +22,7 @@ define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/'); require INSTALL_PATH.'program/include/iniset.php'; -$converter = new html2text(html_entity_decode($HTTP_RAW_POST_DATA, ENT_COMPAT, 'UTF-8')); +$converter = new html2text($HTTP_RAW_POST_DATA); header('Content-Type: text/plain; charset=UTF-8'); print trim($converter->get_text()); -- cgit v1.2.3