Öffentliche Methoden | |
validateChildren ($children, $config, $context) | |
![]() | |
getAllowedElements ($config) | |
validateChildren ($children, $config, $context) | |
Datenfelder | |
$type = 'list' | |
$elements = array('li' => true, 'ul' => true, 'ol' => true) | |
![]() | |
$type | |
$allow_empty | |
$elements = array() | |
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.
validateChildren | ( | $children, | |
$config, | |||
$context | |||
) |
array | $children | |
HTMLPurifier_Config | $config | |
HTMLPurifier_Context | $context |
$elements = array('li' => true, 'ul' => true, 'ol' => true) |