mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-31 19:30:21 +02:00
Remove trailing whitespace.
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
This commit is contained in:
@@ -2,19 +2,19 @@
|
||||
|
||||
class HTMLPurifier_Injector_DisplayLinkURITest extends HTMLPurifier_InjectorHarness
|
||||
{
|
||||
|
||||
|
||||
function setup() {
|
||||
parent::setup();
|
||||
$this->config->set('AutoFormat', 'DisplayLinkURI', true);
|
||||
}
|
||||
|
||||
|
||||
function testBasicLink() {
|
||||
$this->assertResult(
|
||||
'<a href="http://malware.example.com">Don\'t go here!</a>',
|
||||
'<a>Don\'t go here!</a> (http://malware.example.com)'
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
function testEmptyLink() {
|
||||
$this->assertResult(
|
||||
'<a>Don\'t go here!</a>',
|
||||
@@ -27,6 +27,6 @@ class HTMLPurifier_Injector_DisplayLinkURITest extends HTMLPurifier_InjectorHarn
|
||||
'<a></a> (http://malware.example.com)'
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user