private function runMessedUpTest($messedUp = false)
 {
     $input = $this->getStringAutoP($messedUp);
     $test = RPE::autop($input);
     $output = new CleanHTML();
     return $output->Clean($test);
 }
Пример #2
0
 public function testPreWithHREF()
 {
     $output = new CleanHTML();
     $newhtml = $output->Clean('<pre href="http://google.com">testing 321</pre>');
     $this->assertEquals('<pre>testing 321</pre>', $newhtml);
 }