From 11bcac5802dbdd01ee37b97e84f9a91c5777d9e6 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Wed, 29 Sep 2010 09:32:41 -0400 Subject: [PATCH] - Fix HTML to plain text conversion doesn't handle citation blocks (#1486921) --- program/steps/utils/html2text.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/steps/utils/html2text.inc b/program/steps/utils/html2text.inc index f97e1c6..ef74ec4 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; -- Gitblit v1.9.1