X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fdebug%2Fclass_DebugConsoleOutput.php;h=f5588458d9b72c0395cfc1648994e2a528742c45;hp=c397022d62c7718fa153284ea292ae724255bb51;hb=7effdc6aec796a238d3e5d5f59ad45f37743f0d7;hpb=f9183eb5c238cc71cdb8891fa816c508b74ba472 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); } /**