mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
resolve #82
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user