From 5173d74baf5280158a52aac690cfd73dbf144775 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 2 Mar 2009 10:43:34 -0700 Subject: [PATCH] Trim ws at top of text messages also --- imp/lib/Mime/Viewer/plain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/lib/Mime/Viewer/plain.php b/imp/lib/Mime/Viewer/plain.php index 9e972899b..123136271 100644 --- a/imp/lib/Mime/Viewer/plain.php +++ b/imp/lib/Mime/Viewer/plain.php @@ -27,7 +27,7 @@ class IMP_Horde_Mime_Viewer_plain extends Horde_Mime_Viewer_plain $type = 'text/html; charset=' . NLS::getCharset(); // Trim extra whitespace in the text. - $text = rtrim($this->_mimepart->getContents()); + $text = trim($this->_mimepart->getContents()); if ($text == '') { return array( $mime_id => array( -- 2.11.0