X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/d0fd1b7f5cabcae1809ef98ca9483c90a8899f29..refs/pull/3247/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; }