blob: 681d51a965666095bb86d656c1efc33efa8edb73 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--TEST--
HTMLPurifier.path.php and HTMLPurifier.includes.php loading test
--FILE--
<?php
require '../library/HTMLPurifier.path.php';
require 'HTMLPurifier.includes.php';
require 'HTMLPurifier/PHPT/loading/_no-autoload.inc';
$config = HTMLPurifier_Config::createDefault();
$purifier = new HTMLPurifier($config);
echo $purifier->purify('<b>Salsa!');
--EXPECT--
<b>Salsa!</b>
|