Skip to content

Commit

Permalink
Fix typos in mb_strlen fallback implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
marcovtwout committed May 26, 2021
1 parent 1d6c8c4 commit 40c4409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/vendors/markdown/markdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
}
Expand Down

0 comments on commit 40c4409

Please sign in to comment.