fix url regexp

This commit is contained in:
quenousimporte 2024-03-08 09:19:27 +01:00
parent d96285fe50
commit 5633b9271e
1 changed files with 1 additions and 1 deletions

View File

@ -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)