]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
5c5a3de
)
Reverted unrequired use of mb_ function
author
Dan Brown
<redacted>
Sat, 18 Dec 2021 10:43:43 +0000
(10:43 +0000)
committer
Dan Brown
<redacted>
Sat, 18 Dec 2021 10:43:43 +0000
(10:43 +0000)
app/Entities/Tools/PageContent.php
patch
|
blob
|
history
diff --git
a/app/Entities/Tools/PageContent.php
b/app/Entities/Tools/PageContent.php
index 9e2b6a7b6079b366cd7d787d5d54e2cb8e822fbd..b95131fce2e25561c22131d3d81e3dc4d30a8aac 100644
(file)
--- 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;
}