mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-22 16:31:53 +00:00
HTML_Purifier to HTMLPurifier. May want to rethink schematics for this though.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@67 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
parent
ccebe77e70
commit
1836b73c63
@ -1,13 +1,13 @@
|
||||
<?php
|
||||
|
||||
class HTML_Purifier
|
||||
class HTMLPurifier
|
||||
{
|
||||
|
||||
var $lexer;
|
||||
var $definition;
|
||||
var $generator;
|
||||
|
||||
function HTML_Purifier() {
|
||||
function HTMLPurifier() {
|
||||
$this->lexer = new HTMLPurifier_Lexer();
|
||||
$this->definition = new PureHTMLDefinition();
|
||||
$this->generator = new HTMLPurifier_Generator();
|
||||
|
@ -4,7 +4,7 @@ load_simpletest(); // includes all relevant simpletest files
|
||||
|
||||
require_once 'XML/HTMLSax3.php'; // optional PEAR class
|
||||
|
||||
require_once 'HTML_Purifier.php';
|
||||
require_once 'HTMLPurifier.php';
|
||||
require_once 'Lexer.php';
|
||||
require_once 'Token.php';
|
||||
require_once 'PureHTMLDefinition.php';
|
||||
@ -13,7 +13,7 @@ require_once 'Generator.php';
|
||||
$test = new GroupTest('HTML_Purifier');
|
||||
|
||||
chdir('tests/');
|
||||
$test->addTestFile('HTML_Purifier.php');
|
||||
$test->addTestFile('HTMLPurifier.php');
|
||||
$test->addTestFile('Lexer.php');
|
||||
//$test->addTestFile('Token.php');
|
||||
$test->addTestFile('PureHTMLDefinition.php');
|
||||
|
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
class Test_HTML_Purifier extends UnitTestCase
|
||||
class Test_HTMLPurifier extends UnitTestCase
|
||||
{
|
||||
|
||||
function Test_HTML_Purifier() {
|
||||
function Test_HTMLPurifier() {
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user