Added test for parsing   in wikilinks.
authorSubramanya Sastry <ssastry@wikimedia.org>
Mon, 1 Oct 2012 19:09:19 +0000 (14:09 -0500)
committerSubramanya Sastry <ssastry@wikimedia.org>
Mon, 1 Oct 2012 19:09:19 +0000 (14:09 -0500)
Change-Id: I3aa2c76e6fb03c3acaf2edb9fbeca6fd70c556c2

tests/parser/parserTests.txt

index bd65aa3..9dc96b2 100644 (file)
@@ -2825,6 +2825,16 @@ Blah blah blah
 </p>
 !! end
 
+!! test
+Parsoid-specific test: Wikilinks with &nbsp; should RT properly
+!! options
+language=ln
+!! input
+[[WW&nbsp;II]]
+!!result
+<p><a href="/index.php?title=WW_II&amp;action=edit&amp;redlink=1" class="new" title="WW II (lonkásá  ezalí tɛ̂)">WW&#160;II</a>
+</p>
+!! end
 
 ##
 ## XHTML tidiness