From 11bcac5802dbdd01ee37b97e84f9a91c5777d9e6 Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 29 Sep 2010 13:32:41 +0000 Subject: - Fix HTML to plain text conversion doesn't handle citation blocks (#1486921) --- program/steps/utils/html2text.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps/utils') diff --git a/program/steps/utils/html2text.inc b/program/steps/utils/html2text.inc index f97e1c67f..ef74ec49e 100644 --- a/program/steps/utils/html2text.inc +++ b/program/steps/utils/html2text.inc @@ -22,7 +22,7 @@ $converter = new html2text($HTTP_RAW_POST_DATA); header('Content-Type: text/plain; charset=UTF-8'); -print trim($converter->get_text()); +print rtrim($converter->get_text()); exit; -- cgit v1.2.3