summaryrefslogtreecommitdiff
path: root/it_debug.class
diff options
context:
space:
mode:
authorUrban Müller2014-10-23 14:25:39 +0200
committerUrban Müller2014-10-23 14:25:39 +0200
commit142403e2f2cd38715d55adb32a429aca85024ffe (patch)
tree09f6bc61c04a8c119f9bbec1de9ea9bff2922b0f /it_debug.class
parent02f1b896616d58023a1219aa47e820b60d04cd95 (diff)
downloaditools-142403e2f2cd38715d55adb32a429aca85024ffe.tar.gz
itools-142403e2f2cd38715d55adb32a429aca85024ffe.tar.bz2
itools-142403e2f2cd38715d55adb32a429aca85024ffe.zip
dont match urls across newlines
Diffstat (limited to 'it_debug.class')
-rw-r--r--it_debug.class2
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 ";