summaryrefslogtreecommitdiff
path: root/it_debug.class
diff options
context:
space:
mode:
authorUrban Müller2022-02-08 12:35:26 +0100
committerUrban Müller2022-02-08 12:35:26 +0100
commit485cfaf74d64584f76eab0758b11ab95ccf72fc7 (patch)
tree5ba13180f5d66c60d6372f35177ca3dc967e1fbe /it_debug.class
parent5eba8aa0df1befd34eb15a57dacfdc66cffd14ac (diff)
downloaditools-485cfaf74d64584f76eab0758b11ab95ccf72fc7.tar.gz
itools-485cfaf74d64584f76eab0758b11ab95ccf72fc7.tar.bz2
itools-485cfaf74d64584f76eab0758b11ab95ccf72fc7.zip
double quote should terminate urs, validates D() output with html links
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 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 ";