diff --git a/Tests/FeatureTest.php b/Tests/FeatureTest.php index a606d74..4db829e 100644 --- a/Tests/FeatureTest.php +++ b/Tests/FeatureTest.php @@ -803,4 +803,15 @@ EOF; $this->assertEquals($expectedResult, $parser->transform($text)); } + + /** + * @depends testParser + */ + public function testEscapedLink($parser) { + $link = "http://images.google.com/images?num=30&q=larry+bird"; + + $expectedResult = "

http://images.google.com/images?num=30&q=larry+bird

\n"; + + $this->assertEquals($expectedResult, $parser->transform($link)); + } }