mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 17:01:51 +00:00
12 lines
340 B
Plaintext
12 lines
340 B
Plaintext
|
--TEST--
|
||
|
HTMLPurifier.auto.php and HTMLPurifier.includes.php loading test
|
||
|
--FILE--
|
||
|
<?php
|
||
|
require_once '../library/HTMLPurifier.auto.php';
|
||
|
require_once 'HTMLPurifier.includes.php';
|
||
|
$config = HTMLPurifier_Config::createDefault();
|
||
|
$purifier = new HTMLPurifier($config);
|
||
|
echo $purifier->purify('<b>Salsa!');
|
||
|
--EXPECT--
|
||
|
<b>Salsa!</b>
|