libs/Debug.php
protected function format($str, $indent = true)
    {
        $spaces = str_repeat(' ', ((int)$indent) * $this->indent);

        return $spaces . trim(
            str_replace(
                "\n",
                "\n" . $spaces,
                (php_sapi_name() != 'cli' ? htmlspecialchars($str) : $str)
            )
        ) . "\n";
    }
protected function format($str, $indent = true)
    {
        $spaces = str_repeat(' ', ((int)$indent) * $this->indent);

        return $spaces . trim(
            str_replace(
                "\n",
                "\n" . $spaces,
                (php_sapi_name() != 'cli' ? htmlspecialchars($str) : $str)
            )
        ) . "\n";
    }
protected function format ( $ str , $ indent = true ) { $ spaces = str_repeat ( ' ' , ( ( int ) $ indent ) * $ this -> indent ) ; return $ spaces . trim ( str_replace ( "\n" , "\n" . $ spaces , ( php_sapi_name ( ) != 'cli' ? htmlspecialchars ( $ str ) : $ str ) ) ) . "\n" ; }
Format output.

@param   string      $str                String to output.
@param   bool        $indent             Whether to indent output.
@return  string                          Formatted output.
Format output .