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

index 11c8659..327fa8c 100644 (file)
@@ -541,7 +541,7 @@ class Pman_Core_Images extends Pman
         
         
         $d->createFromData($img->getAttribute('src'));
-        $img->setAttribute('src', $d->URL(-1, 'Images' , $baseURL));
+        $img->setAttribute('src', $d->URL(-1, '/Images' , $baseURL));
     }
     
     static function replaceImgUrl($html, $baseURL, $tag, $attr, $attr_name)