Skip to content

NOW MANAGED ON CODEBERG

Reverted unrequired use of mb_ function

Dan Brown767a82fb41c9
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;
}