You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
362B

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