Put \n in double-quotes
authorMark A. Hershberger <mah@users.mediawiki.org>
Wed, 30 Jun 2010 07:39:17 +0000 (07:39 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Wed, 30 Jun 2010 07:39:17 +0000 (07:39 +0000)
includes/ProfilerSimpleText.php

index 938f5ad..caca94b 100644 (file)
@@ -30,7 +30,7 @@ class ProfilerSimpleText extends ProfilerSimple {
                        if ($this->visible) {
                                print '<pre>'.self::$out.'</pre>';
                        } else {
-                               print '<!--\n'.self::$out.'\n-->\n';
+                               print "<!--\n".self::$out."\n-->\n";
                        }
                }
        }