From 3b42a5854aede71dc0af19025ba6424b710779fc Mon Sep 17 00:00:00 2001 From: Subramanya Sastry Date: Wed, 3 Oct 2012 15:53:04 -0500 Subject: [PATCH] Parsoid-centric tests to RT-test comments-ws-pre interactions. Change-Id: I2974d1451acbaeae4bce1aa890f0becea2dca32a --- tests/parser/parserTests.txt | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index f9c7f141ac..f555d4f353 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -968,6 +968,50 @@ bar !!end +### +### Parsoid-centric tests for testing RT edge cases +### around comments and white-space inside pre blocks +### + +!!test +1a. Pre and Comments +!!input + a + +c +!!result +
a
+
+

c +

+!!end + +!!test +1b. Pre and Comments +!!input + a + +c +!!result +
a
+
+

c +

+!!end + +!!test +1c. Pre and Comments +!!input + a + + a +!!result +
 a
+
+
 a
+
+!!end + ### ### Definition lists ### -- 2.20.1