From 7effdc6aec796a238d3e5d5f59ad45f37743f0d7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 24 Mar 2009 10:45:26 +0000 Subject: [PATCH] New-line added --- inc/classes/main/debug/class_DebugConsoleOutput.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/inc/classes/main/debug/class_DebugConsoleOutput.php b/inc/classes/main/debug/class_DebugConsoleOutput.php index c397022d..f5588458 100644 --- a/inc/classes/main/debug/class_DebugConsoleOutput.php +++ b/inc/classes/main/debug/class_DebugConsoleOutput.php @@ -52,7 +52,11 @@ class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, Output * @return void */ public final function outputStream ($output) { - print(html_entity_decode(strip_tags(stripslashes($output)))); + // Prepare the output + $output = trim(html_entity_decode(strip_tags(stripslashes($output)))); + + // And print it out... + printf("%s\n", $output); } /** -- 2.39.5