mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-10-17 06:56:06 +02:00
Rename HTML_Lexer to HTMLPurifier_Lexer. However, some more refactoring still needs to be done (namely making the lexer an interface).
Also fixed broken benchmarks. git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@65 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -7,7 +7,7 @@ class Test_HTMLDTD_ChildDef extends UnitTestCase
|
||||
var $gen;
|
||||
|
||||
function Test_HTMLDTD_ChildDef() {
|
||||
$this->lex = new HTML_Lexer();
|
||||
$this->lex = new HTMLPurifier_Lexer();
|
||||
$this->gen = new HTML_Generator();
|
||||
parent::UnitTestCase();
|
||||
}
|
||||
@@ -134,7 +134,7 @@ class Test_PureHTMLDefinition extends UnitTestCase
|
||||
$this->UnitTestCase();
|
||||
$this->def = new PureHTMLDefinition();
|
||||
$this->def->loadData();
|
||||
$this->lex = new HTML_Lexer();
|
||||
$this->lex = new HTMLPurifier_Lexer();
|
||||
}
|
||||
|
||||
function test_removeForeignElements() {
|
||||
|
Reference in New Issue
Block a user