Skip to content

Commit

Permalink
Fix test after changes in cd5385c.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jul 1, 2016
1 parent 816adcb commit 2ab0145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imp/test/Imp/Unit/Mime/Viewer/HtmlTest.php
Expand Up @@ -44,7 +44,7 @@ public function testOpenLinksInNewWindow()
'example@example.com' => '<p>example@example.com</p>',
'foo <a href="#bar">Anchor</a>' => '<p>foo <a href="#bar" target="%s">Anchor</a></p>',
'foo <a href="http://www.example.com/">example</a>' => '<p>foo <a href="http://www.example.com/" target="%s">example</a></p>',
'foo <a target="foo" href="http://www.example.com/">example</a>' => '<p>foo <a target="%s" href="http://www.example.com/">example</a></p>',
'foo <a target="foo" href="http://www.example.com/">example</a>' => '<p>foo <a target="%s" href="http://www.example.com/" rel="noopener noreferrer">example</a></p>',
'foo <a href="http://www.example.com/" target="foo">example</a>' => '<p>foo <a href="http://www.example.com/" target="%s">example</a></p>',
'foo <a mailto="example@example.com">Example Email</a>' => '<p>foo <a mailto="example@example.com">Example Email</a></p>',
'<map name="Map"><area shape="rect" coords="32,-2,293,29" href="http://www.example.com/"></map>' => '<map name="Map"><area shape="rect" coords="32,-2,293,29" href="http://www.example.com/" target="%s"/></map>',
Expand Down

0 comments on commit 2ab0145

Please sign in to comment.