fix url regexp
This commit is contained in:
parent
d96285fe50
commit
5633b9271e
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@
|
|||
echo '<br>';
|
||||
}
|
||||
$links = array();
|
||||
if (preg_match_all('/https:(.*)[ \r]/', $content, $links, PREG_SET_ORDER))
|
||||
if (preg_match_all('/https:(.*)\b/', $content, $links, PREG_SET_ORDER))
|
||||
{
|
||||
echo '<div>External links:</div>';
|
||||
foreach($links as $link)
|
||||
|
|
|
|||
Loading…
Reference in a new issue