1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-11-24 03:42:32 +01:00

Reverted unrequired use of mb_ function

This commit is contained in:
Dan Brown 2021-12-18 10:43:43 +00:00
parent 5c5a3de7cb
commit 767a82fb41
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -80,7 +80,7 @@ class PageContent
*/ */
protected function extractBase64ImagesFromHtml(string $htmlText): string 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; return $htmlText;
} }