3 class HTMLPurifier_HTMLModule_NofollowTest
extends HTMLPurifier_HTMLModuleHarness
8 $this->config
->set('HTML.Nofollow', true);
11 function testNofollow() {
13 '<a href="http://google.com">a</a><a href="/local">b</a><a href="mailto:foo@example.com">c</a>',
14 '<a href="http://google.com" rel="nofollow">a</a><a href="/local">b</a><a href="mailto:foo@example.com">c</a>'