1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00
This commit is contained in:
Emanuil Rusev
2014-02-06 00:10:18 +02:00
parent ebfdace4c6
commit 14ab6d46fe
3 changed files with 6 additions and 3 deletions

View File

@@ -1046,7 +1046,7 @@ class Parsedown
case 'http':
if (preg_match('/^https?:[\/]{2}[^\s]+\b/ui', $text, $matches))
if (preg_match('/^https?:[\/]{2}[^\s]+\b\/*/ui', $text, $matches))
{
$element_url = $matches[0];
$element_url = str_replace('&', '&', $element_url);