From: Dan Brown Date: Sat, 18 Dec 2021 10:43:43 +0000 (+0000) Subject: Reverted unrequired use of mb_ function X-Git-Tag: v21.12~1^2~9 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/767a82fb41c978b3508d128d92e056236dbd90e4 Reverted unrequired use of mb_ function --- diff --git a/app/Entities/Tools/PageContent.php b/app/Entities/Tools/PageContent.php index 9e2b6a7b6..b95131fce 100644 --- a/app/Entities/Tools/PageContent.php +++ b/app/Entities/Tools/PageContent.php @@ -80,7 +80,7 @@ class PageContent */ protected function extractBase64ImagesFromHtml(string $htmlText): string { - if (empty($htmlText) || mb_strpos($htmlText, 'data:image') === false) { + if (empty($htmlText) || strpos($htmlText, 'data:image') === false) { return $htmlText; }