MDL-17099 htmlpurifier: new version from upstream
This commit is contained in:
@@ -24,6 +24,14 @@ abstract class HTMLPurifier_ChildDef
|
||||
*/
|
||||
public $elements = array();
|
||||
|
||||
/**
|
||||
* Get lookup of tag names that should not close this element automatically.
|
||||
* All other elements will do so.
|
||||
*/
|
||||
public function getNonAutoCloseElements($config) {
|
||||
return $this->elements;
|
||||
}
|
||||
|
||||
/**
|
||||
* Validates nodes according to definition and returns modification.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user