From 142403e2f2cd38715d55adb32a429aca85024ffe Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 23 Oct 2014 14:25:39 +0200 Subject: dont match urls across newlines --- it_debug.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_debug.class') 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://[^ ']*#", "\$0", htmlspecialchars($item)); + $item = preg_replace("#http://[^\s']*#", "\$0", htmlspecialchars($item)); if (preg_match('/^[\'"]/', $var)) $r .= "$item "; -- cgit v1.2.3