From: Aryeh Gregor Date: Wed, 30 Jul 2008 23:33:13 +0000 (+0000) Subject: Add twelve new parser tests, of which four fail, to cover bug 6200. Brings failing... X-Git-Tag: 1.31.0-rc.0~46261 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=9f2972cac9980c505727de8292d4cda569a83c92;p=lhc%2Fweb%2Fwiklou.git Add twelve new parser tests, of which four fail, to cover bug 6200. Brings failing tests back up to 15 for me. --- diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index d44aafa0dc..a9f4e0a01a 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -6834,6 +6834,183 @@ pst !! end +!! test +Paragraphs inside divs (no extra line breaks) +!! input +
Line one + +Line two
+!! result +
Line one +Line two
+ +!! end + +!! test +Paragraphs inside divs (extra line break on open) +!! input +
+Line one + +Line two
+!! result +
+

Line one +

+Line two
+ +!! end + +!! test +Paragraphs inside divs (extra line break on close) +!! input +
Line one + +Line two +
+!! result +
Line one +

Line two +

+
+ +!! end + +!! test +Paragraphs inside divs (extra line break on open and close) +!! input +
+Line one + +Line two +
+!! result +
+

Line one +

Line two +

+
+ +!! end + +# Bug 6200:
should behave like
with respect to line breaks +!! test +Bug 6200: paragraphs inside blockquotes (no extra line breaks) +!! input +
Line one + +Line two
+!! result +
Line one +Line two
+ +!! end + +!! test +Bug 6200: paragraphs inside blockquotes (extra line break on open) +!! input +
+Line one + +Line two
+!! result +
+

Line one +

+Line two
+ +!! end + +!! test +Bug 6200: paragraphs inside blockquotes (extra line break on close) +!! input +
Line one + +Line two +
+!! result +
Line one +

Line two +

+
+ +!! end + +!! test +Bug 6200: paragraphs inside blockquotes (extra line break on open and close) +!! input +
+Line one + +Line two +
+!! result +
+

Line one +

Line two +

+
+ +!! end + +!! test +Paragraphs inside blockquotes/divs (no extra line breaks) +!! input +
Line one + +Line two
+!! result +
Line one +Line two
+ +!! end + +!! test +Paragraphs inside blockquotes/divs (extra line break on open) +!! input +
+Line one + +Line two
+!! result +
+

Line one +

+Line two
+ +!! end + +!! test +Paragraphs inside blockquotes/divs (extra line break on close) +!! input +
Line one + +Line two +
+!! result +
Line one +

Line two +

+
+ +!! end + +!! test +Paragraphs inside blockquotes/divs (extra line break on open and close) +!! input +
+Line one + +Line two +
+!! result +
+

Line one +

Line two +

+
+ +!! end # # #