summaryrefslogtreecommitdiff
path: root/roundcubemail/bin/html2text.php
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-08-15 21:47:31 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-08-15 21:47:31 +0000
commit40b059beb5bd73ccfa476409f8bff30975dbc413 (patch)
tree58a23a1a7b9618e6f094c7aef50413ce1163e66c /roundcubemail/bin/html2text.php
parent8dd0a30eb2d5cbd3f4e2b5bd04ec8a10bfd783f7 (diff)
Enable spellchecker for HTML editor
git-svn-id: https://svn.roundcube.net/trunk@1651 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/bin/html2text.php')
-rw-r--r--roundcubemail/bin/html2text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/bin/html2text.php b/roundcubemail/bin/html2text.php
index 0f0e6ae14..2650bf2d6 100644
--- a/roundcubemail/bin/html2text.php
+++ b/roundcubemail/bin/html2text.php
@@ -6,6 +6,6 @@ require INSTALL_PATH.'program/include/iniset.php';
$converter = new html2text($HTTP_RAW_POST_DATA);
header('Content-Type: text/plain; charset=UTF-8');
-print html_entity_decode($converter->get_text(), ENT_COMPAT, 'UTF-8');
+print html_entity_decode(trim($converter->get_text()), ENT_COMPAT, 'UTF-8');
?>