New-line added
[core.git] / inc / classes / main / debug / class_DebugConsoleOutput.php
index c397022d62c7718fa153284ea292ae724255bb51..f5588458d9b72c0395cfc1648994e2a528742c45 100644 (file)
@@ -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);
        }
 
        /**