From 07b738b1c81e62b9bfde97181661760f03be381d Mon Sep 17 00:00:00 2001 From: Kane Cohen Date: Wed, 29 Jan 2014 23:05:05 +0000 Subject: [PATCH] Remove one unnecessary /u flag. --- Parsedown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);