]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Tools/PageContent.php
Split out codemirror JS to its own module
[bookstack] / 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;
         }