tests/Images.php
authorAlan Knowles <alan@roojs.com>
Wed, 23 May 2012 02:11:48 +0000 (10:11 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 23 May 2012 02:11:48 +0000 (10:11 +0800)
tests/Images.php

index dfb9dba..33c8075 100644 (file)
@@ -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()