Property | Type | Description | |
---|---|---|---|
$name | |||
$needed |
Method | Description | |
---|---|---|
handleElement ( HTMLPurifier_Token &$token ) | ||
handleText ( HTMLPurifier_Token_Text &$token ) |
Method | Description | |
---|---|---|
_checkNeedsP ( HTMLPurifier_Token $current ) : boolean | Determines if a particular token requires an earlier inline token to get a paragraph. This should be used with _forwardUntilEndToken | |
_isInline ( HTMLPurifier_Token $token ) : boolean | Returns true if passed token is inline (and, ergo, allowed in paragraph tags) | |
_pLookAhead ( ) : boolean |
Looks ahead in the token list and determines whether or not we need
to insert a tag. |
|
_pStart ( ) : HTMLPurifier_Token_Start | ||
_splitText ( string $data, HTMLPurifier_Token[] &$result ) | Splits up a text in paragraph tokens and appends them to the result stream that will replace the original |
public handleElement ( HTMLPurifier_Token &$token ) | ||
$token | HTMLPurifier_Token |
public handleText ( HTMLPurifier_Token_Text &$token ) | ||
$token | HTMLPurifier_Token_Text |