aboutsummaryrefslogtreecommitdiffstats
path: root/lib/htmlpurifier/tests/HTMLPurifier/PHPT/loading/standalone-autoload.phpt
blob: 36bb2efd73c699ea944d5bc1671d82aa32ad82bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--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>