1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-06 14:16:32 +02:00

More refactoring: bundling charset and entity stuff together makes little sense, so new HTMLPurifier/EntityParser.php.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@341 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2006-08-30 02:21:39 +00:00
parent 89376a11e3
commit 0ac97774d4
7 changed files with 309 additions and 259 deletions

View File

@@ -66,7 +66,7 @@ class HTMLPurifier_Lexer_DirectLex extends HTMLPurifier_Lexer
if ($num_amp_2 <= $num_esc_amp) return $string;
// hmm... now we have some uncommon entities. Use the callback.
$string = $this->_encoder->substituteSpecialEntities($string);
$string = $this->_entity_parser->substituteSpecialEntities($string);
return $string;
}