From 96a393f3912017662bc4efcb1d8cbe334fd2991a Mon Sep 17 00:00:00 2001 From: Ben Wiley Sittler Date: Fri, 7 Nov 2008 08:36:07 +0000 Subject: [PATCH] https should work too --- caca-php/examples/www/img2txt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) ?>