diff --git a/Parsedown.php b/Parsedown.php index 0da0f42..7af08c9 100755 --- a/Parsedown.php +++ b/Parsedown.php @@ -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);