diff options
author | alecpl <alec@alec.pl> | 2008-11-20 10:29:34 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-11-20 10:29:34 +0000 |
commit | 300fc65a461ce37999e3f0df991b24ed1b3c1bd3 (patch) | |
tree | 7d0b57759414b710f7cc48e58fa2abf65c456003 /bin/html2text.php | |
parent | 322b79db06cfd0d9a0ca5c63536c36265d5ce7d2 (diff) |
- Better HTML entities conversion in html2text (#1485519)
Diffstat (limited to 'bin/html2text.php')
-rw-r--r-- | bin/html2text.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/html2text.php b/bin/html2text.php index e07fb3538..3839f5d34 100644 --- a/bin/html2text.php +++ b/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()); |