PHPIDS | ||||
![]() | ||||
|
||||
![]() |
Coverage | ||||||||||||
Classes | Methods | Lines | ||||||||||
Total |
|
100.00% | 1 / 1 |
|
100.00% | 1 / 1 |
|
100.00% | 2 / 2 | |||
HTMLPurifier_AttrDef_Text |
|
100.00% | 1 / 1 |
|
100.00% | 1 / 1 |
|
100.00% | 2 / 2 | |||
public function validate($string, $config, $context) |
|
100.00% | 1 / 1 |
|
100.00% | 1 / 1 |
1 : <?php 2 : 3 : /** 4 : * Validates arbitrary text according to the HTML spec. 5 : */ 6 1 : class HTMLPurifier_AttrDef_Text extends HTMLPurifier_AttrDef 7 : { 8 : 9 : public function validate($string, $config, $context) { 10 2 : return $this->parseCDATA($string); 11 : } 12 : 13 : } 14 : |
![]() |
Generated by PHPUnit 3.3.1 and Xdebug 2.0.2 at Thu Sep 25 18:42:10 CEST 2008. |