Class HTMLPurifier_Injector_AutoParagraph

Description

Injector that auto paragraphs text in the root node based on double-spacing.

  • todo: Ensure all states are unit tested, including variations as well.
  • todo: Make a graph of the flow control for this Injector.

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

HTMLPurifier_Injector
   |
   --HTMLPurifier_Injector_AutoParagraph
Variable Summary
mixed $name
mixed $needed
Method Summary
void handleElement ( &$token)
void handleText ( &$token)
Variables
mixed $name = 'AutoParagraph' (line 12878)
  • access: public

Redefinition of:
HTMLPurifier_Injector::$name
Advisory name of injector, this is for friendly error messages
mixed $needed = array('p') (line 12879)
  • access: public

Redefinition of:
HTMLPurifier_Injector::$needed
Array of elements and attributes this injector creates and therefore

Inherited Variables

Inherited from HTMLPurifier_Injector

HTMLPurifier_Injector::$currentNesting
HTMLPurifier_Injector::$htmlDefinition
HTMLPurifier_Injector::$inputIndex
HTMLPurifier_Injector::$inputTokens
HTMLPurifier_Injector::$rewind
Methods

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