Class HTMLPurifier_ChildDef_List
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
- HTMLPurifier_ChildDef_List
public
array
|
getAllowedElements()
|
public
string
|
$type | 'list' |
|
public
array
|
$elements | array('li' => true, 'ul' => true, 'ol' => true) |
#
Lookup array of all elements that this definition could possibly allow. |
$allow_empty
|