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 (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 = $matches[1];
|
||||||
$element_url = str_replace('&', '&', $element_url);
|
$element_url = str_replace('&', '&', $element_url);
|
||||||
|
|
Loading…
Reference in New Issue