File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -480,4 +480,13 @@ public function testCDATA()
480480 $ res = $ this ->cycleFragment ('a<![CDATA[ This <is> a test. ]]>b ' );
481481 $ this ->assertRegExp ('|<!\[CDATA\[ This <is> a test\. \]\]>| ' , $ res );
482482 }
483+
484+ public function testAnchorTargetQueryParam ()
485+ {
486+ $ res = $ this ->cycle ("<a href= \"https://domain.com/page.php?foo=bar&target=baz \">https://domain.com/page.php?foo=bar&target=baz</a> " );
487+ $ this ->assertStringContainsString (
488+ "<a href= \"https://domain.com/page.php?foo=bar&target=baz \">https://domain.com/page.php?foo=bar&target=baz</a> " ,
489+ $ res
490+ );
491+ }
483492}
You can’t perform that action at this time.
0 commit comments