projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f05c49e
)
Images.php
author
Alan Knowles
<alan@roojs.com>
Wed, 23 May 2012 02:13:50 +0000
(10:13 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 23 May 2012 02:13:50 +0000
(10:13 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
2971387
..
1707e7d
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-277,7
+277,7
@@
class Pman_Core_Images extends Pman
// finally replace the original TAG with the new version..
- $old_src_tag = 'src="'. $attr[src] . '"';
+
$new_img = str_replace(
'src="'. $attr['src'] . '"',
'src="'. htmlspecialchars($imgObj->URL($new_thumbsize , $provider, $baseURL)) . '"',