diff options
| author | Urban Müller | 2022-02-08 12:35:26 +0100 | 
|---|---|---|
| committer | Urban Müller | 2022-02-08 12:35:26 +0100 | 
| commit | 485cfaf74d64584f76eab0758b11ab95ccf72fc7 (patch) | |
| tree | 5ba13180f5d66c60d6372f35177ca3dc967e1fbe | |
| parent | 5eba8aa0df1befd34eb15a57dacfdc66cffd14ac (diff) | |
| download | itools-485cfaf74d64584f76eab0758b11ab95ccf72fc7.tar.gz itools-485cfaf74d64584f76eab0758b11ab95ccf72fc7.tar.bz2 itools-485cfaf74d64584f76eab0758b11ab95ccf72fc7.zip | |
double quote should terminate urs, validates D() output with html links
| -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 4105f1d..eca38ef 100644 --- a/it_debug.class +++ b/it_debug.class @@ -140,7 +140,7 @@ static function dump($args)  		$item = "$red$item$nored";  		if ($htmlok) -			$item = preg_replace("#(https?:)?//[^\s']*#", "<a href='\$0'>\$0</a>", strtr($item, $htmlspecialchars)); # htmlspecialchars() does not like bad utf8 +			$item = preg_replace("#(https?:)?//[^\s'\"]+#", "<a href='\$0'>\$0</a>", strtr($item, $htmlspecialchars)); # htmlspecialchars() does not like bad utf8  		if (preg_match('/^[\'"]/', $var))  			$r .= "$item "; |