config->set('Attr.EnableID', true); $this->assertResult( 'bar' ); } function testCDATA() { $this->config->set('HTML.Attr.Name.UseCDATA', true); $this->assertResult( 'BazBar' ); } 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