From: Gabriel Wicke Date: Fri, 22 Mar 2013 16:48:29 +0000 (-0700) Subject: Add more tests for paragraphs and headings with extra spacing X-Git-Tag: 1.31.0-rc.0~19607^2 X-Git-Url: http://git.cyclocoop.org/%22.%24redirect_annul.%22?a=commitdiff_plain;h=0a8e4a57e5b48ad0f39c9859ad50ab8b510afeb2;p=lhc%2Fweb%2Fwiklou.git Add more tests for paragraphs and headings with extra spacing Change-Id: Ic39fc0972bc25f0377720f82b642007ea0a208a0 --- 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