From 0a8e4a57e5b48ad0f39c9859ad50ab8b510afeb2 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Fri, 22 Mar 2013 09:48:29 -0700 Subject: [PATCH] Add more tests for paragraphs and headings with extra spacing Change-Id: Ic39fc0972bc25f0377720f82b642007ea0a208a0 --- tests/parser/parserTests.txt | 53 ++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index f90b27980d..a9ceafad9d 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -303,6 +303,59 @@ b !! end +!! test +Extra newlines: More paragraphs with indented comment +!! input +a + + + +b +!!result +

a +


+b +

+!!end + +!! test +Extra newlines followed by heading +!! input +a + + + +=b= +[[a]] + + +=b= +!! result +

a +


+

+

b[edit]

+

a +


+

+

b[edit]

+ +!! end + +!! test +Extra newlines between heading and content are swallowed +!! input +=b= + + + +[[a]] +!! result +

b[edit]

+

a +

+!! end + !! test Parsing an URL !! input -- 2.20.1