From 6b0106a32446a125fd8a4ea7b9637c2378d52f72 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Tue, 22 Jul 2014 13:10:42 -0400
Subject: [PATCH] Fix some mime-type to extension mapping checks in Installer (#1489983)

---
 program/lib/Roundcube/rcube_text2html.php |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/program/lib/Roundcube/rcube_text2html.php b/program/lib/Roundcube/rcube_text2html.php
index 363f1b2..46c2b7e 100644
--- a/program/lib/Roundcube/rcube_text2html.php
+++ b/program/lib/Roundcube/rcube_text2html.php
@@ -127,10 +127,8 @@
      */
     protected function _convert()
     {
-        $text = stripslashes($this->text);
-
         // Convert TXT to HTML
-        $this->html       = $this->_converter($text);
+        $this->html       = $this->_converter($this->text);
         $this->_converted = true;
     }
 

--
Gitblit v1.9.1