From 40c44093286af0c161193b83c59c0e29b3c28b5b Mon Sep 17 00:00:00 2001 From: Marco van 't Wout Date: Wed, 26 May 2021 16:45:16 +0200 Subject: [PATCH] Fix typos in mb_strlen fallback implementation --- framework/vendors/markdown/markdown.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); }