From f9b575dff4bc572909563086d8eb4c7fdc40adb7 Mon Sep 17 00:00:00 2001 From: Matt Peel Date: Wed, 15 Aug 2007 11:54:11 +0000 Subject: [PATCH] Fixed < being on the wrong side of a \n character, causing XHTML errors. git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40168 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/Debug.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Debug.php b/core/Debug.php index 6241f8b0b..0cc59c297 100644 --- a/core/Debug.php +++ b/core/Debug.php @@ -24,7 +24,7 @@ class Debug { if(Director::is_ajax()) echo "Debug ($caller[class]$caller[type]$caller[function]() in line $caller[line] of " . basename($caller['file']) . ")\n"; else - echo "
\n
\n

Debug ($caller[class]$caller[type]$caller[function]() \nin line $caller[line] <\nspan style=\"font-weight:normal\">of " . basename($caller['file']) . ")\n

\n"; + echo "
\n
\n

Debug ($caller[class]$caller[type]$caller[function]() \nin line $caller[line] \nof " . basename($caller['file']) . ")\n

\n"; } echo Debug::text($val);