HTMLPurifier 4.4.0
/home/ezyang/Dev/htmlpurifier/library/HTMLPurifier/AttrDef/Text.php
Go to the documentation of this file.
00001 <?php
00002 
00006 class HTMLPurifier_AttrDef_Text extends HTMLPurifier_AttrDef
00007 {
00008 
00009     public function validate($string, $config, $context) {
00010         return $this->parseCDATA($string);
00011     }
00012 
00013 }
00014 
00015 // vim: et sw=4 sts=4