From: Gabriel Wicke Date: Tue, 19 Mar 2013 23:31:09 +0000 (-0700) Subject: Add test for table with empty line between table and row tag X-Git-Tag: 1.31.0-rc.0~20276^2 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=0d45f2075d691c6e4d859fdf1af7b6ec89043022;p=lhc%2Fweb%2Fwiklou.git Add test for table with empty line between table and row tag Test case: {| |- | foo |} Change-Id: I71c0be624aef3b9cf40b58cab8c7a448dda44033 --- diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 30d475161f..03f9659cf5 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -3282,6 +3282,24 @@ Table with row followed by newlines and table heading !! end +!! test +Table with empty line following the start tag +!! input +{| + +|- +| foo +|} +!! result + + + + +
foo +
+ +!! end + # FIXME: Preserve the attribute properly (with an empty string as value) in # the PHP parser. Parsoid implements the behavior below. !! test