Skip to content

Commit 99902a0

Browse files
committed
Updated Profiler.php
Adds <pre> tag to view data arrays for they become easier to read.
1 parent 5e3ce6d commit 99902a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Profiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ public function _compile_view_data()
546546

547547
if (is_array($val) || is_object($val))
548548
{
549-
$output[$key] = htmlspecialchars(stripslashes(print_r($val, true)));
549+
$output[$key] = '<pre>' . htmlspecialchars(stripslashes(print_r($val, true))) . '</pre>';
550550
}
551551
else
552552
{

0 commit comments

Comments
 (0)