diff --git a/caca-php/examples/www/img2txt.php b/caca-php/examples/www/img2txt.php index b196206..b4b30d1 100644 --- a/caca-php/examples/www/img2txt.php +++ b/caca-php/examples/www/img2txt.php @@ -507,7 +507,7 @@ if($ret || strlen($stdout) || strlen($stderr)) } if(strlen($stdout)) { - ?>
$2...$4', preg_replace('!(\s|^)(http://[-.:_/0-9a-zA-Z%?=&;#]+)(\s|$)!', '$1$2$3', htmlspecialchars($stdout))) ?>
$2...$4', preg_replace('!(\s|^)(https?://[-.:_/0-9a-zA-Z%?=&;#]+)(\s|$)!', '$1$2$3', htmlspecialchars($stdout))) ?>