Add parser test case for bad char ref in link
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 11 Jul 2006 18:53:45 +0000 (18:53 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 11 Jul 2006 18:53:45 +0000 (18:53 +0000)
maintenance/parserTests.txt

index 493c1e9..bce9866 100644 (file)
@@ -713,6 +713,15 @@ External links: [encoded equals] (bug 6102)
 </p>
 !! end
 
+!! test
+External links: [illegal character reference in hostname]
+!! input
+[http://e&zwnj;xample.com/]
+!! result
+<p>[http://e&zwnj;xample.com/]
+</p>
+!! end
+
 !! test
 External links: www.jpeg.org (bug 554)
 !! input