Images.php
authorAlan <alan@roojs.com>
Mon, 10 Jan 2022 06:46:39 +0000 (14:46 +0800)
committerAlan <alan@roojs.com>
Mon, 10 Jan 2022 06:46:39 +0000 (14:46 +0800)
Images.php

index 81b62ee..58d11bc 100644 (file)
@@ -455,6 +455,12 @@ class Pman_Core_Images extends Pman
             $anc->setAttribute('href', self::domImgUrl($baseURL, $href));
         }
         
+        
+        $inner = $dom->getElementById("tmp_dom_wrapper");
+        $html = '';
+        foreach ($inner->childNodes as $child) {
+            $html .= ($dom->saveHTML($child));
+        }
         return $html;
     }