diff options
-rw-r--r-- | it_debug.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class index b86c8f9..4a091d3 100644 --- a/it_debug.class +++ b/it_debug.class @@ -146,7 +146,7 @@ function dump($args) $item = "$red$item$nored"; if (isset($_SERVER['REMOTE_ADDR']) && !$plain) # html encode content and link any urls - $item = preg_replace("#(http://[^'\"\s]+)#", '<a style="color:red" href="$1">$1</a>', htmlspecialchars($item)); + $item = htmlspecialchars($item); if (preg_match('/^[\'"]/', $var)) $r .= "$item "; |