From e7add7a9437d546824902dc4e8977da3c21e29a1 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 14 Sep 2009 05:41:28 +0000 Subject: [PATCH] MINOR Dont trim strings in Debug::message(), they are useful for indentation git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@86222 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- dev/Debug.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/Debug.php b/dev/Debug.php index bc78a268d..23ba13b95 100644 --- a/dev/Debug.php +++ b/dev/Debug.php @@ -144,11 +144,11 @@ class Debug { $file = basename($caller['file']); if(Director::is_cli()) { if($showHeader) echo "Debug (line $caller[line] of $file):\n "; - echo trim($message) . "\n"; + echo $message . "\n"; } else { echo "

\n"; if($showHeader) echo "Debug (line $caller[line] of $file):\n "; - echo Convert::raw2xml(trim($message)) . "

\n"; + echo Convert::raw2xml($message) . "

\n"; } } }