Merge "Add test for bracketed external links with invalid template-generated target"
authorIAlex <ialex.wiki@gmail.com>
Thu, 8 Nov 2012 19:15:19 +0000 (19:15 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 8 Nov 2012 19:15:19 +0000 (19:15 +0000)
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