From 4ca10b8d511d85a4d575af355b0a6739d5a05958 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Fri, 15 Aug 2008 17:47:31 -0400
Subject: [PATCH] Enable spellchecker for HTML editor

---
 bin/html2text.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bin/html2text.php b/bin/html2text.php
index 0f0e6ae..2650bf2 100644
--- a/bin/html2text.php
+++ b/bin/html2text.php
@@ -6,6 +6,6 @@
 $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');
 
 ?>

--
Gitblit v1.9.1