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 62bbf3e..b6c6d41 100644 --- a/it_debug.class +++ b/it_debug.class @@ -141,7 +141,7 @@ static function dump($args) $item = "$red$item$nored"; if ($htmlok) - $item = preg_replace("#http://[^ ']*#", "<a href='\$0'>\$0</a>", htmlspecialchars($item)); + $item = preg_replace("#http://[^\s']*#", "<a href='\$0'>\$0</a>", htmlspecialchars($item)); if (preg_match('/^[\'"]/', $var)) $r .= "$item "; |