PSR-2 reformatting PHPDoc corrections
[htmlpurifier.git] / library / HTMLPurifier / AttrDef / Text.php
blob4553a4ea9b6ce9f4e238c088bb5c7853c332cd6a
1 <?php
3 /**
4 * Validates arbitrary text according to the HTML spec.
5 */
6 class HTMLPurifier_AttrDef_Text extends HTMLPurifier_AttrDef
9 /**
10 * @param string $string
11 * @param HTMLPurifier_Config $config
12 * @param HTMLPurifier_Context $context
13 * @return bool|string
15 public function validate($string, $config, $context)
17 return $this->parseCDATA($string);
21 // vim: et sw=4 sts=4