root/afridex/plugins/Flutter/purifier_lib/HTMLPurifier/AttrDef/Text.php
@
21
| Revision 21, 269 bytes (checked in by admin, 18 years ago) |
|---|
| Line | |
|---|---|
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Validates arbitrary text according to the HTML spec. |
| 5 | */ |
| 6 | class HTMLPurifier_AttrDef_Text extends HTMLPurifier_AttrDef |
| 7 | { |
| 8 | |
| 9 | public function validate($string, $config, $context) { |
| 10 | return $this->parseCDATA($string); |
| 11 | } |
| 12 | |
| 13 | } |
| 14 |
Note: See TracBrowser
for help on using the browser.
