Test wiki tables with a lot of comments
authorGabriel Wicke <gwicke@wikimedia.org>
Thu, 13 Dec 2012 01:36:53 +0000 (17:36 -0800)
committerGabriel Wicke <gwicke@wikimedia.org>
Thu, 13 Dec 2012 01:36:53 +0000 (17:36 -0800)
Change-Id: I222071df9d3a69ea4f0f8eaebc2242e038ff2391

tests/parser/parserTests.txt

index 0b7b779..6025ce1 100644 (file)
@@ -3125,6 +3125,29 @@ disabled
 
 !! end
 
+!! test
+Wikitext table with a lot of comments
+!! input
+{|
+<!-- c0 -->
+| foo
+<!-- c1 -->
+|- <!-- c2 -->
+<!-- c3 -->
+|<!-- c4 -->
+<!-- c5 -->
+|}
+!! result
+<table>
+<tr>
+<td> foo
+</td></tr>
+<tr>
+<td>
+</td></tr></table>
+
+!! end
+
 ###
 ### Internal links
 ###