projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd244d2
)
tests/Images.php
author
Alan Knowles
<alan@roojs.com>
Wed, 23 May 2012 02:11:48 +0000
(10:11 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 23 May 2012 02:11:48 +0000
(10:11 +0800)
tests/Images.php
patch
|
blob
|
history
diff --git
a/tests/Images.php
b/tests/Images.php
index
dfb9dba
..
33c8075
100644
(file)
--- a/
tests/Images.php
+++ b/
tests/Images.php
@@
-8,12
+8,13
@@
class Pman_Core_tests_Images extends Pman
// test...
echo '<PRE>';
require_once 'Pman/Core/Images.php';
- Pman_Core_Images::replaceImg('
+
$ret =
Pman_Core_Images::replaceImg('
<img src="http://test.php/Core/Images/Thumb/200x40/34/test.png">
<img src="http://test.php/Images/34/test.png" width="100">
<a href="http://test.php/Images/Download/34/test.png">test</a>
');
+ echo htmlspecialchars($ret);
}
function output()