diff options
author | Urban Müller | 2023-03-17 15:17:17 +0100 |
---|---|---|
committer | Urban Müller | 2023-03-17 15:21:02 +0100 |
commit | 0d0140c0de98de28106610e58aa8bebc07566a85 (patch) | |
tree | f90f9700d89d121bb96debdcd7ee50d9bb1c21f6 /it_debug.class | |
parent | 49429cfe68d8d576d6c0a0fc954e57b452dd5d41 (diff) | |
download | itools-0d0140c0de98de28106610e58aa8bebc07566a85.tar.gz itools-0d0140c0de98de28106610e58aa8bebc07566a85.tar.bz2 itools-0d0140c0de98de28106610e58aa8bebc07566a85.zip |
typo
Diffstat (limited to 'it_debug.class')
-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 5e89385..f5122ea 100644 --- a/it_debug.class +++ b/it_debug.class @@ -190,7 +190,7 @@ static function dump($args, $p = []) $item = "$red$item$nored"; if ($p['html']) - $item = it::replace('[\x00-\x08\x0b-\x0c\x0e-\x1f]' => "", preg_replace("#(https?:)?//[^\s'\"]+#", "<a href='\$0'>\$0</a>", strtr($item, $htmlspecialchars)), 'utf8' => false); # htmlspecialchars() does not like bad utf8 + $item = it::replace(['[\x00-\x08\x0b-\x0c\x0e-\x1f]' => ""], preg_replace("#(https?:)?//[^\s'\"]+#", "<a href='\$0'>\$0</a>", strtr($item, $htmlspecialchars)), ['utf8' => false]); # htmlspecialchars() does not like bad utf8 if (preg_match('/^[\'"]/', $var)) $r .= "$item "; |