]> BookStack Code Mirror - bookstack/commitdiff
Reverted unrequired use of mb_ function
authorDan Brown <redacted>
Sat, 18 Dec 2021 10:43:43 +0000 (10:43 +0000)
committerDan Brown <redacted>
Sat, 18 Dec 2021 10:43:43 +0000 (10:43 +0000)
app/Entities/Tools/PageContent.php

index 9e2b6a7b6079b366cd7d787d5d54e2cb8e822fbd..b95131fce2e25561c22131d3d81e3dc4d30a8aac 100644 (file)
@@ -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;
         }