From: Gabriel Wicke
Date: Thu, 8 Nov 2012 18:57:00 +0000 (-0800)
Subject: Add test for bracketed external links with invalid template-generated target
X-Git-Tag: 1.31.0-rc.0~21700^2~1
X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=d74d173f0c7e7e8acfedcf9227c619aba1a249b6;p=lhc%2Fweb%2Fwiklou.git
Add test for bracketed external links with invalid template-generated target
Change-Id: Ic8746ba894d0deb937ce07429b6e471ef647023e
---
diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index 8e7f44eeca..18e0ee83a7 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -2204,6 +2204,15 @@ http:/example.com
!! end
+!! test
+Bracketed external links with template-generated invalid target
+!! input
+[{{echo|http:/example.com}} title]
+!! result
+[http:/example.com title]
+
+!! end
+
!! test
Bug 2702: Mismatched , and tags are invalid
!! input