PSR-2 reformatting PHPDoc corrections
[htmlpurifier.git] / tests / HTMLPurifier / HTMLModule / TargetBlankTest.php
blobc73aea9230c7321243372e356f8608a520a6f394
1 <?php
3 class HTMLPurifier_HTMLModule_TargetBlankTest extends HTMLPurifier_HTMLModuleHarness
6 public function setUp()
8 parent::setUp();
9 $this->config->set('HTML.TargetBlank', true);
12 public function testTargetBlank()
14 $this->assertResult(
15 '<a href="http://google.com">a</a><a href="/local">b</a><a href="mailto:foo@example.com">c</a>',
16 '<a href="http://google.com" target="_blank">a</a><a href="/local">b</a><a href="mailto:foo@example.com">c</a>'
22 // vim: et sw=4 sts=4