From: Subramanya Sastry Date: Wed, 3 Oct 2012 20:53:04 +0000 (-0500) Subject: Parsoid-centric tests to RT-test comments-ws-pre interactions. X-Git-Tag: 1.31.0-rc.0~22177^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=3b42a5854aede71dc0af19025ba6424b710779fc;p=lhc%2Fweb%2Fwiklou.git Parsoid-centric tests to RT-test comments-ws-pre interactions. Change-Id: I2974d1451acbaeae4bce1aa890f0becea2dca32a --- 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 ###