diff --git a/framework/vendors/markdown/markdown.php b/framework/vendors/markdown/markdown.php index 9ae90a846d..2ff8717172 100644 --- a/framework/vendors/markdown/markdown.php +++ b/framework/vendors/markdown/markdown.php @@ -1447,8 +1447,8 @@ protected function utf8_strlen($string) { } return preg_match_all( - "/[\x00-\xBF]|[\xC0-\xFF][\x80-\xBF]*/", - $text, + '/[\x00-\xBF]|[\xC0-\xFF][\x80-\xBF]*/', + $string, $m ); }