3 require_once 'HTMLPurifier/AttrDef.php';
6 * Validates arbitrary text according to the HTML spec.
8 class HTMLPurifier_AttrDef_Text
extends HTMLPurifier_AttrDef
11 function validate($string, $config, &$context) {
12 return $this->parseCDATA($string);