Merge "Extend paragraph / line with block tag interaction tests"
authorSubramanya Sastry <ssastry@wikimedia.org>
Wed, 20 Mar 2013 04:48:40 +0000 (04:48 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 20 Mar 2013 04:48:40 +0000 (04:48 +0000)
tests/parser/parserTests.txt

index 251bf23..30d4751 100644 (file)
@@ -837,7 +837,7 @@ x <div>foo</div> z
 !! end
 
 !! test
-Empty lines between block tags to test open p-tags are closed between the block tags
+Empty lines between lines with block tags
 !! input
 <div></div>
 
@@ -845,6 +845,12 @@ Empty lines between block tags to test open p-tags are closed between the block
 <div></div>a
 
 b
+<div>a</div>b
+
+<div>b</div>d
+
+
+<div>e</div>
 !! result
 <div></div>
 <p><br />
@@ -852,6 +858,12 @@ b
 <div></div>a
 <p>b
 </p>
+<div>a</div>b
+<div>b</div>d
+<p><br />
+</p>
+<div>e</div>
+
 !! end
 
 ###