4 * Validates arbitrary text according to the HTML spec.
6 class HTMLPurifier_AttrDef_Text
extends HTMLPurifier_AttrDef
10 * @param string $string
11 * @param HTMLPurifier_Config $config
12 * @param HTMLPurifier_Context $context
15 public function validate($string, $config, $context)
17 return $this->parseCDATA($string);