Method |
Description |
|
__construct ( ) |
-- CONVENIENCE MEMBERS --------------------------------------------- |
|
create ( HTMLPurifier_Config $config ) : HTMLPurifier_Lexer |
Retrieves or sets the default Lexer as a Prototype Factory. |
|
extractBody ( $html ) |
Takes a string of HTML (fragment or document) and returns the content |
|
normalize ( string $html, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : string |
Takes a piece of HTML and normalizes it by converting entities, fixing
encoding, extracting bits, and other good stuff. |
|
parseData ( string $string ) : string |
Parses special entities into the proper characters. |
|
tokenizeHTML ( $string, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : HTMLPurifier_Token[] |
Lexes an HTML string into tokens. |
|