$type
$type :
Type of child definition, usually right-most part of class name lowercase.
Used occasionally in terms of context.
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.
getAllowedElements(\HTMLPurifier_Config $config) : array
Get lookup of tag names that should not close this element automatically.
All other elements will do so.
| \HTMLPurifier_Config | $config | HTMLPurifier_Config object |
validateChildren(array $children, \HTMLPurifier_Config $config, \HTMLPurifier_Context $context) : array
Validates nodes according to definition and returns modification.
| array | $children | Array of HTMLPurifier_Node |
| \HTMLPurifier_Config | $config | HTMLPurifier_Config object |
| \HTMLPurifier_Context | $context | HTMLPurifier_Context object |