Class HTMLPurifier_Strategy_RemoveForeignElements

Description

Removes all unrecognized tags from the list of tokens.

This strategy iterates through all the tokens and removes unrecognized tokens. If a token is not recognized but a TagTransform is defined for that element, the element will be transformed accordingly.

Located in /lib/core/Parsers/htmlpurifier/HTMLPurifier.standalone.php (line 15103)

HTMLPurifier_Strategy
   |
   --HTMLPurifier_Strategy_RemoveForeignElements
Method Summary
void execute ( $tokens,  $config,  $context)
Methods
execute (line 15106)
  • access: public
void execute ( $tokens,  $config,  $context)
  • $tokens
  • $config
  • $context

Redefinition of:
HTMLPurifier_Strategy::execute()
Executes the strategy on the tokens.

Inherited Methods

Inherited From HTMLPurifier_Strategy

HTMLPurifier_Strategy::execute()

Documentation generated on Sun, 06 Mar 2011 00:24:10 -0500 by phpDocumentor 1.4.3