3 class HTMLPurifier_Injector_DisplayLinkURITest
extends HTMLPurifier_InjectorHarness
8 $this->config
->set('AutoFormat.DisplayLinkURI', true);
11 function testBasicLink() {
13 '<a href="http://malware.example.com">Don\'t go here!</a>',
14 '<a>Don\'t go here!</a> (http://malware.example.com)'
18 function testEmptyLink() {
20 '<a>Don\'t go here!</a>',
21 '<a>Don\'t go here!</a>'
24 function testEmptyText() {
26 '<a href="http://malware.example.com"></a>',
27 '<a></a> (http://malware.example.com)'