Add test for table row followed by newlines and table heading
authorGabriel Wicke <gwicke@wikimedia.org>
Fri, 16 Nov 2012 00:02:15 +0000 (16:02 -0800)
committerGabriel Wicke <gwicke@wikimedia.org>
Fri, 16 Nov 2012 00:02:15 +0000 (16:02 -0800)
Change-Id: I208f5464523ef3e76cd9ddc5c1198aa231bca9b8

tests/parser/parserTests.txt

index d18da66..ff0649b 100644 (file)
@@ -2806,6 +2806,24 @@ Template-generated table cell attributes and cell content
 
 !! end
 
+!! test
+Table with row followed by newlines and table heading
+!! input
+{|
+|-
+
+! foo
+|}
+!! result
+<table>
+
+
+<tr>
+<th> foo
+</th></tr></table>
+
+!! end
+
 ###
 ### Internal links
 ###