Automatic installer.php lang files by installer_builder (20070726)
[moodle-linuxchix.git] / lib / htmlpurifier / HTMLPurifier / AttrDef / Text.php
blobeb2a24a711c98b2f4856f41f426327020e6c2103
1 <?php
3 require_once 'HTMLPurifier/AttrDef.php';
5 /**
6 * Validates arbitrary text according to the HTML spec.
7 */
8 class HTMLPurifier_AttrDef_Text extends HTMLPurifier_AttrDef
11 function validate($string, $config, &$context) {
12 return $this->parseCDATA($string);