From: Gabriel Wicke Date: Thu, 8 Nov 2012 22:18:05 +0000 (-0800) Subject: More parameter stripping tests: nested and single-line X-Git-Tag: 1.31.0-rc.0~21699^2 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=cf46d407fa6590b16825b47b1ed587e1ee7d97e8;p=lhc%2Fweb%2Fwiklou.git More parameter stripping tests: nested and single-line Change-Id: I3140932539078b24d0e39d45f5305ce9d5dbe7a9 --- diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index fd4c08bad8..a1de736949 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -1042,6 +1042,27 @@ Templates: Pre: 1f: Wrapping should be based on expanded content !!end +!! test +Templates: Single-line variant of parameter whitespace stripping test +!! input +{{echo| a}} + +{{echo|1= a}} + +{{echo|{{echo| a}}}} + +{{echo|1={{echo| a}}}} +!! result +
a
+
+

a +

+
a
+
+

a +

+!! end + ### ### Parsoid-centric tests for testing RT edge cases for pre ###