mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-25 01:31:53 +00:00
13 lines
363 B
Plaintext
13 lines
363 B
Plaintext
|
--TEST--
|
||
|
HTMLPurifier.standalone.php loading test
|
||
|
--FILE--
|
||
|
<?php
|
||
|
require '../library/HTMLPurifier.standalone.php';
|
||
|
require '../library/HTMLPurifier.autoload.php';
|
||
|
require 'HTMLPurifier/PHPT/loading/_autoload.inc';
|
||
|
$config = HTMLPurifier_Config::createDefault();
|
||
|
$purifier = new HTMLPurifier($config);
|
||
|
echo $purifier->purify('<b>Salsa!');
|
||
|
--EXPECT--
|
||
|
<b>Salsa!</b>
|