Преглед изворни кода

https should work too

tags/v0.99.beta17
Ben Wiley Sittler bsittler пре 16 година
родитељ
комит
96a393f391
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      caca-php/examples/www/img2txt.php

+ 1
- 1
caca-php/examples/www/img2txt.php Прегледај датотеку

@@ -507,7 +507,7 @@ if($ret || strlen($stdout) || strlen($stderr))
}
if(strlen($stdout))
{
?><pre xml:space="preserve"><?= preg_replace('!([&]lt;)([.a-zA-Z0-9]+[@])([-.a-zA-Z0-9]+)([&]gt;)!', '$1<a href="mailto:$2$3">$2...</a>$4', preg_replace('!(\s|^)(http://[-.:_/0-9a-zA-Z%?=&;#]+)(\s|$)!', '$1<a href="$2">$2</a>$3', htmlspecialchars($stdout))) ?></pre><?php
?><pre xml:space="preserve"><?= preg_replace('!([&]lt;)([.a-zA-Z0-9]+[@])([-.a-zA-Z0-9]+)([&]gt;)!', '$1<a href="mailto:$2$3">$2...</a>$4', preg_replace('!(\s|^)(https?://[-.:_/0-9a-zA-Z%?=&;#]+)(\s|$)!', '$1<a href="$2">$2</a>$3', htmlspecialchars($stdout))) ?></pre><?php
;
}
?>


Loading…
Откажи
Сачувај