Subramanya Sastry has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/51613


Change subject: One more wikitable fostered content test for Parsoid.
......................................................................

One more wikitable fostered content test for Parsoid.

* Primarily to keep this Parsoid fix in place:
  https://gerrit.wikimedia.org/r/#/c/51170/

Change-Id: I4307bde61b186734f3706dc8940f47e015ec2bc5
---
M tests/parser/parserTests.txt
1 file changed, 21 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/13/51613/1

diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index 0716d79..81a1efe 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -5838,7 +5838,7 @@
 !!end
 
 !!test
-Templates: Wiki Tables: 1. Fostering of entire template content
+Templates: Wiki Tables: 1a. Fostering of entire template content
 !!input
 {|
 {{echo|a}}
@@ -5846,6 +5846,24 @@
 !!result
 <table>
 a
+<tr><td></td></tr></table>
+
+!!end
+
+!!test
+Templates: Wiki Tables: 1b. Fostering of entire template content
+!!input
+{|
+{{echo|<div>}}
+foo
+{{echo|</div>}}
+|}
+!!result
+<table>
+<div>
+<p>foo
+</p>
+</div>
 <tr><td></td></tr></table>
 
 !!end
@@ -5891,7 +5909,7 @@
 !!end
 
 !!test
-Templates: Wiki Tables: 4. Templated tags, regular td-tags
+Templates: Wiki Tables: 5. Templated tags, regular td-tags
 !!input
 {{tbl-start}}
 |foo
@@ -5905,7 +5923,7 @@
 !!end
 
 !!test
-Templates: Wiki Tables: 4. Templated tags, templated td-tags
+Templates: Wiki Tables: 6. Templated tags, templated td-tags
 !!input
 {{tbl-start}}
 {{!}}foo

-- 
To view, visit https://gerrit.wikimedia.org/r/51613
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4307bde61b186734f3706dc8940f47e015ec2bc5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Subramanya Sastry <ssas...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to