summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_debug.class1
1 files changed, 1 insertions, 0 deletions
diff --git a/it_debug.class b/it_debug.class
index 1c95acf..b929f9c 100644
--- a/it_debug.class
+++ b/it_debug.class
@@ -197,6 +197,7 @@ static function dump($args, $p = [])
$r .= "$item ";
else
{
+ $var = $p['html'] ? strtr($var, $htmlspecialchars) : $var;
$var = $p['short'] ? "" : "$blue$var=$noblue";
$r .= $previtem && preg_match("/\n/", $item . $previtem) ? "\n$var$item " : "$var$item ";
$previtem = $item;