From 0d45f2075d691c6e4d859fdf1af7b6ec89043022 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Tue, 19 Mar 2013 16:31:09 -0700 Subject: [PATCH] Add test for table with empty line between table and row tag Test case: {| |- | foo |} Change-Id: I71c0be624aef3b9cf40b58cab8c7a448dda44033 --- tests/parser/parserTests.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 -- 2.20.1