diff --git a/index.php b/index.php index 0ffa284..3ab71dd 100644 --- a/index.php +++ b/index.php @@ -97,12 +97,12 @@ } } $links = array(); - if (preg_match_all('/https:(.*)\b/', $content, $links, PREG_SET_ORDER)) + if (preg_match_all('/(https?:.*)\b/', $content, $links, PREG_SET_ORDER)) { foreach($links as $link) { $divcontent .= '
- https:' . $link[1] . ' + ' . $link[1] . '
'; } }