diff --git a/index.php b/index.php index 4251a25..7fec103 100644 --- a/index.php +++ b/index.php @@ -126,7 +126,7 @@ echo '
'; } $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 '
External links:
'; foreach($links as $link)