config->set ( 'Attr.EnableID', true );
$this->assertResult ( 'bar' );
}
public function testCDATA() {
$this->config->set ( 'HTML.Attr.Name.UseCDATA', true );
$this->assertResult ( 'BazBar' );
}
public function testCDATAWithHeavyTidy() {
$this->config->set ( 'HTML.Attr.Name.UseCDATA', true );
$this->config->set ( 'HTML.TidyLevel', 'heavy' );
$this->assertResult ( 'Baz' );
}
}
// vim: et sw=4 sts=4