Skip to content

Commit 5c91646

Browse files
Merge pull request erikdubbelboer#66 from basvandorst/master
Use the pre-tag for better showing multidimensional arrays
2 parents c3510b9 + 38cd024 commit 5c91646

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

info.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
}
4646

4747
?>
48-
<tr <?php echo $alt ? 'class="alt"' : ''?>><td><div><?php echo format_html($key)?></div></td><td><div><?php echo nl2br(format_html(is_array($value) ? print_r($value, true) : $value))?></div></td></tr>
48+
<tr <?php echo $alt ? 'class="alt"' : ''?>><td><div><?php echo format_html($key)?></div></td><td><pre><?php echo format_html(is_array($value) ? print_r($value, true) : $value)?></pre></td></tr>
4949
<?php
5050

5151
$alt = !$alt;

0 commit comments

Comments
 (0)