X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/5c5a3de7cb9ebdb1644726ec167f68384594d093..refs/pull/3193/head:/app/Entities/Tools/PageContent.php 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; }