mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 03:42:32 +01:00
Reverted unrequired use of mb_ function
This commit is contained in:
parent
5c5a3de7cb
commit
767a82fb41
@ -80,7 +80,7 @@ class PageContent
|
|||||||
*/
|
*/
|
||||||
protected function extractBase64ImagesFromHtml(string $htmlText): string
|
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;
|
return $htmlText;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user