From 94d63d5e9092f326d7584a02b8e247e8f9665789 Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Sat, 17 Aug 2024 10:34:15 -0700 Subject: [PATCH] Add some carriage returns to make the HTML a LITTLE more readable --- class.krumo.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/class.krumo.php b/class.krumo.php index 8ff8d43..4b0ead4 100644 --- a/class.krumo.php +++ b/class.krumo.php @@ -943,6 +943,7 @@ private static function _null($name) '; $html = sprintf($html, $name, static::get_separator()); + $html .= "\n"; echo $html; } @@ -1247,7 +1248,7 @@ private static function _array($data, $name) static::_vars($data); } - print ""; + print "\n"; } @@ -1302,7 +1303,7 @@ private static function _object(&$data, $name) unset($data->trace); } - print ""; + print "\n"; } @@ -1321,6 +1322,7 @@ private static function _resource($data, $name) '; $html = sprintf($html, $name, static::get_separator(), get_resource_type($data)); + $html .= "\n"; echo $html; } @@ -1346,6 +1348,7 @@ private static function _boolean($data, $name) %s Boolean %s%s '; + $html .= "\n"; $html = sprintf($html, $name, static::get_separator(), $value); @@ -1366,7 +1369,7 @@ private static function _not_initialized($key, $type) print "$key $type "; print static::get_separator() . " [Not initialized]"; - print ""; + print "\n"; } @@ -1388,7 +1391,7 @@ private static function _integer($data, $name) print " ~ $ut"; } - print ""; + print "\n"; } @@ -1410,7 +1413,7 @@ private static function _float($data, $name) print " ~ $ut"; } - print ""; + print "\n"; } public static function get_icon($name, $title) @@ -1602,7 +1605,7 @@ private static function _string($data, $name) print ""; } - print ""; + print "\n"; } public static function convert_whitespace($m) {