mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-30 19:00:10 +02:00
Turn on entity parsing for the Lexers. Add PureHTMLDefinition and define removeForeignElements.
git-svn-id: http://htmlpurifier.org/svnroot/html_purifier/trunk@31 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -7,6 +7,7 @@ require_once 'XML/HTMLSax3.php'; // optional PEAR class
|
||||
require_once 'HTML_Purifier.php';
|
||||
require_once 'HTML_Lexer.php';
|
||||
require_once 'MarkupFragment.php';
|
||||
require_once 'PureHTMLDefinition.php';
|
||||
|
||||
$test = new GroupTest('HTML_Purifier');
|
||||
|
||||
@@ -14,6 +15,7 @@ chdir('tests/');
|
||||
$test->addTestFile('HTML_Purifier.php');
|
||||
$test->addTestFile('HTML_Lexer.php');
|
||||
//$test->addTestFile('MarkupFragment.php');
|
||||
$test->addTestFile('PureHTMLDefinition.php');
|
||||
chdir('../');
|
||||
|
||||
$test->run(new HtmlReporter());
|
||||
|
Reference in New Issue
Block a user