auto.phpt 302 B

1234567891011
  1. --TEST--
  2. HTMLPurifier.auto.php loading test
  3. --FILE--
  4. <?php
  5. require '../library/HTMLPurifier.auto.php';
  6. require 'HTMLPurifier/PHPT/loading/_autoload.inc';
  7. $config = HTMLPurifier_Config::createDefault();
  8. $purifier = new HTMLPurifier($config);
  9. echo $purifier->purify('<b>Salsa!');
  10. --EXPECT--
  11. <b>Salsa!</b>