projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57c49a0
)
Images.php
author
Alan
<alan@roojs.com>
Mon, 10 Jan 2022 06:45:44 +0000
(14:45 +0800)
committer
Alan
<alan@roojs.com>
Mon, 10 Jan 2022 06:45:44 +0000
(14:45 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
5cb8a02
..
81b62ee
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-410,7
+410,7
@@
class Pman_Core_Images extends Pman
libxml_use_internal_errors(true);
$doc = new DOMDocument();
- $do
c->loadHTML($html
);
+ $do
m->loadHTML("<?xml encoding='utf-8'?> <div id='tmp_dom_wrapper'>{$html}</div>"
);
$imgs = $doc->getElementsByTagName('img');