From: Gabriel Wicke
Date: Fri, 3 Aug 2012 23:33:13 +0000 (-0700)
Subject: Add a test for paragraphs with extra newline spacing
X-Git-Tag: 1.31.0-rc.0~22852
X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=3d35b46891f668819f4be5b379270899f5f573ab;p=lhc%2Fweb%2Fwiklou.git
Add a test for paragraphs with extra newline spacing
This test simply documents the current PHP parser behavior, so that it remains
compatible while we are tweaking Parsoid.
Change-Id: I807efb93da6c69da124bcab5c7fbd531b4deaa2b
---
diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index dd205f6143..48e1d7cbb3 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -84,6 +84,29 @@ This is a simple paragraph.
!! end
+!! test
+Paragraphs with extra newline spacing
+!! input
+foo
+
+bar
+
+
+baz
+
+
+
+booz
+!! result
+foo
+
bar
+
+baz
+
+
booz
+
+!! end
+
!! test
Simple list
!! input