Remove one unnecessary /u flag.

This commit is contained in:
Kane Cohen 2014-01-29 23:05:05 +00:00
parent f7181ee9b6
commit 07b738b1c8
1 changed files with 1 additions and 1 deletions

View File

@ -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('&', '&amp;', $element_url);