mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Remove one unnecessary /u flag.
This commit is contained in:
parent
f7181ee9b6
commit
07b738b1c8
@ -931,7 +931,7 @@ class Parsedown
|
||||
|
||||
if (strpos($text, '>') !== false)
|
||||
{
|
||||
if ($text[1] === 'h' and preg_match('/^<(https?:[\/]{2}[^\s]+?)>/ui', $text, $matches))
|
||||
if ($text[1] === 'h' and preg_match('/^<(https?:[\/]{2}[^\s]+?)>/i', $text, $matches))
|
||||
{
|
||||
$element_url = $matches[1];
|
||||
$element_url = str_replace('&', '&', $element_url);
|
||||
|
Loading…
Reference in New Issue
Block a user