</pre>
!!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
+<pre>a
+</pre>
+<p>a
+</p>
+<pre>a
+</pre>
+<p>a
+</p>
+!! end
+
+ !! test
+ Templates: Strip whitespace from named parameters, but not positional ones
+ !! input
+ {{echo|
+ foo}}
+
+ {{echo|
+ * foo}}
+
+ {{echo| 1 =
+ foo}}
+
+ {{echo| 1 =
+ * foo}}
+ !! result
+ <pre>foo
+ </pre>
+ <p><br />
+ </p>
+ <ul><li> foo
+ </li></ul>
+ <p>foo
+ </p>
+ <ul><li> foo
+ </li></ul>
+
+ !! end
+
###
### Parsoid-centric tests for testing RT edge cases for pre
###