mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-13 00:38:42 +00:00
212958a9c7
- Add missing NEWS entry git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1556 48356398-32a2-884e-a903-53898d9a118a
12 lines
329 B
PHP
12 lines
329 B
PHP
--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>
|