Merge "Test wiki tables with a lot of comments"
authorSubramanya Sastry <ssastry@wikimedia.org>
Thu, 13 Dec 2012 17:13:14 +0000 (17:13 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 13 Dec 2012 17:13:14 +0000 (17:13 +0000)
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
 ###