mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-10 07:38:41 +00:00
11 lines
269 B
Plaintext
11 lines
269 B
Plaintext
|
--TEST--
|
||
|
HTMLPurifier.standalone.php loading test
|
||
|
--FILE--
|
||
|
<?php
|
||
|
require_once '../library/HTMLPurifier.standalone.php';
|
||
|
$config = HTMLPurifier_Config::createDefault();
|
||
|
$purifier = new HTMLPurifier($config);
|
||
|
echo $purifier->purify('<b>Salsa!');
|
||
|
--EXPECT--
|
||
|
<b>Salsa!</b>
|