Merge "Add test for comment-only line followed by a template transclusion"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 7 May 2013 17:46:29 +0000 (17:46 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 7 May 2013 17:46:29 +0000 (17:46 +0000)
tests/parser/parserTests.txt

index a4e32ab..cb3a4ae 100644 (file)
@@ -6173,6 +6173,19 @@ bar <div>baz</div>
 
 !!end
 
+!!test
+Templates: P-wrapping: 1d. Template preceded by comment-only line
+!!options
+parsoid
+!!input
+<!-- foo -->
+{{echo|Bar}}
+!!result
+<!-- foo -->
+<p>Bar
+</p>
+!!end
+
 !!test
 Templates: Inline Text: 1. Multiple tmeplate uses
 !!input