|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Definition for list containers ul and ol. More...
Inheritance diagram for HTMLPurifier_ChildDef_List:
Collaboration diagram for HTMLPurifier_ChildDef_List:Public Member Functions | |
| validateChildren ($children, $config, $context) | |
Public Member Functions inherited from HTMLPurifier_ChildDef | |
| getAllowedElements ($config) | |
| Get lookup of tag names that should not close this element automatically. More... | |
| validateChildren ($children, $config, $context) | |
| Validates nodes according to definition and returns modification. More... | |
Data Fields | |
| $type = 'list' | |
| @type string More... | |
| $elements = array('li' => true, 'ul' => true, 'ol' => true) | |
| @type array More... | |
Data Fields inherited from HTMLPurifier_ChildDef | |
| $type | |
| Type of child definition, usually right-most part of class name lowercase. More... | |
| $allow_empty | |
| Indicates whether or not an empty array of children is okay. More... | |
| $elements = array() | |
| Lookup array of all elements that this definition could possibly allow. More... | |
Definition for list containers ul and ol.
What does this do? The big thing is to handle ol/ul at the top level of list nodes, which should be handled specially by /folding/ them into the previous list node. We generally shouldn't ever see other disallowed elements, because the autoclose behavior in MakeWellFormed handles it.
| HTMLPurifier_ChildDef_List::validateChildren | ( | $children, | |
| $config, | |||
| $context | |||
| ) |
| array | $children | |
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_ChildDef.
Definition at line 31 of file List.php.
| HTMLPurifier_ChildDef_List::$elements = array('li' => true, 'ul' => true, 'ol' => true) |