Add test for bracketed external links with invalid template-generated target
authorGabriel Wicke <gwicke@wikimedia.org>
Thu, 8 Nov 2012 18:57:00 +0000 (10:57 -0800)
committerGabriel Wicke <gwicke@wikimedia.org>
Thu, 8 Nov 2012 18:57:31 +0000 (10:57 -0800)
Change-Id: Ic8746ba894d0deb937ce07429b6e471ef647023e

tests/parser/parserTests.txt

index 8e7f44e..18e0ee8 100644 (file)
@@ -2204,6 +2204,15 @@ http:/example.com
 </p>
 !! end
 
+!! test
+Bracketed external links with template-generated invalid target
+!! input
+[{{echo|http:/example.com}} title]
+!! result
+<p>[http:/example.com title]
+</p>
+!! end
+
 !! test
 Bug 2702: Mismatched <i>, <b> and <a> tags are invalid
 !! input