From 32a2661a56db1be717ce431c67260bbea771558f Mon Sep 17 00:00:00 2001 From: Arlo Breault Date: Tue, 14 Jun 2016 10:43:59 -0700 Subject: [PATCH] Sync up with Parsoid parserTests. This now aligns with Parsoid commit 969556c9cdc7f03dd02bcf985fc476b22e8053f0 Change-Id: Id124cc5aa32233e7b48578c0ddc4bb88c06fa893 --- tests/parser/parserTests.txt | 76 +++++++++++++++++++++++++++++++++++- 1 file changed, 75 insertions(+), 1 deletion(-) diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index cf7daed1e2..2e059d7423 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -7083,11 +7083,12 @@ parsoid=wt2html !! end !! test -Strip unsupported table tags +Strip unsupported table tags, but introduce row wikitext as required !! options parsoid=html2wt !! html/parsoid + @@ -7113,10 +7114,12 @@ parsoid=html2wt
Test
Month
!! wikitext {| +|+Test !Month !Savings +|- |January |$100 @@ -7124,10 +7127,31 @@ parsoid=html2wt |February |$80 +|- |Sum |$180 |} +!! html/php+tidy + + + + + + + + + + + + + + + + + + +
Test
MonthSavings
January$100
February$80
Sum$180
!! end !! test @@ -7243,6 +7267,56 @@ parsoid=html2wt !! end +!! test +Serialize wikitext list items as HTML list items when embedded in a HTML list +!! options +parsoid=html2wt +!! html + +!! wikitext + +!! end + +# SSS FIXME: Is this actually a good thing given the +# odd nested list output that is generated by MW? +# instead of +# +!! test +Wikitext lists can be nested inside HTML lists +!! options +parsoid=html2wt +!! html + + + +!! wikitext + + + +!! end + ### ### Internal links ### -- 2.20.1