From: Michael M Slusarz Date: Mon, 2 Mar 2009 17:43:34 +0000 (-0700) Subject: Trim ws at top of text messages also X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=5173d74baf5280158a52aac690cfd73dbf144775;p=horde.git Trim ws at top of text messages also --- 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(