2006-08-04 03:13:04 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once 'HTMLPurifier/AttrDef.php';
|
|
|
|
|
|
|
|
class HTMLPurifier_AttrDef_Text extends HTMLPurifier_AttrDef
|
|
|
|
{
|
|
|
|
|
|
|
|
function validate($string) {
|
2006-08-05 00:30:31 +00:00
|
|
|
return $this->parseCDATA($string);
|
2006-08-04 03:13:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|