mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-31 19:30:21 +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:
@@ -107,7 +107,12 @@ class TestCase_HTML_Lexer extends UnitTestCase
|
||||
|
||||
$input[9] = '<b>';
|
||||
$expect[9] = array(
|
||||
new MF_Text('<b>')
|
||||
new MF_Text('<b>')
|
||||
);
|
||||
$sax_expect[9] = array(
|
||||
new MF_Text('<')
|
||||
,new MF_Text('b')
|
||||
,new MF_Text('>')
|
||||
);
|
||||
// however, we may want to change both styles
|
||||
// into parsed: '<b>'. SAX has an option for this
|
||||
|
Reference in New Issue
Block a user