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