Add parser tests for bug 52468 and bug 52363.
authorC. Scott Ananian <cscott@cscott.net>
Fri, 2 Aug 2013 17:22:18 +0000 (13:22 -0400)
committerRelease notes rebase bot <matma.rex+releasenotesrebasebot@gmail.com>
Fri, 2 Aug 2013 19:12:11 +0000 (21:12 +0200)
Change-Id: I3a4361f8f40d941ec05b690311b33351f6425296

tests/parser/parserTests.txt

index 76388d9..f4a85bc 100644 (file)
@@ -865,6 +865,37 @@ Non-html5 tags should be accepted
 </p>
 !! end
 
+!! test
+<wbr> isn't (yet) valid wikitext (bug 52468)
+!! input
+<wbr>
+!! result
+<p>&lt;wbr&gt;
+</p>
+!! end
+
+###
+### Special characters
+###
+
+!! test
+Bare pipe character (bug 52363)
+!! input
+|
+!! result
+<p>|
+</p>
+!! end
+
+!! test
+Bare pipe character from a template (bug 52363)
+!! input
+{{pipe}}
+!! result
+<p>|
+</p>
+!! end
+
 ###
 ### <nowiki> test cases
 ###