From 2f8b1036da42ec3d15a51c6b17a473f9f4df71d3 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <bruederli@kolabsys.com>
Date: Sat, 07 Feb 2015 12:33:24 -0500
Subject: [PATCH] Bump version and copyright year

---
 program/steps/utils/html2text.inc |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/program/steps/utils/html2text.inc b/program/steps/utils/html2text.inc
index 58df34b..f6e2bec 100644
--- a/program/steps/utils/html2text.inc
+++ b/program/steps/utils/html2text.inc
@@ -21,6 +21,11 @@
 
 $html = stream_get_contents(fopen('php://input', 'r'));
 
+// strip slashes if magic_quotes enabled
+if (get_magic_quotes_gpc() || get_magic_quotes_runtime()) {
+    $html = stripslashes($html);
+}
+
 // Replace emoticon images with its text representation
 $html = $RCMAIL->replace_emoticons($html);
 

--
Gitblit v1.9.1