From 67b0c669a57d097e85b1eeda5e8e7b510ee53df8 Mon Sep 17 00:00:00 2001
From: Arlo Breault
Date: Mon, 25 Jan 2016 12:03:07 -0800
Subject: [PATCH] Sync up with Parsoid parserTests.
This now aligns with Parsoid commit b04ce02432166128a295c0f00ac1d64c6a469a81
Change-Id: I9f27dc299b87aa265039c0e25084489810c0f7c8
---
tests/parser/parserTests.txt | 75 +++++++++++++++++++++++++++++++++++-
1 file changed, 74 insertions(+), 1 deletion(-)
diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index 61c331da8c..078fa6c07a 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -8787,6 +8787,40 @@ Mixed list
!! end
+!! test
+1. Nested mixed wikitext and html list
+!! wikitext
+* hi
+*
+* hi
+** ho
+!! html/php
+
+
+!! html/parsoid
+
+!! end
+
+!! test
+2. Nested mixed wikitext and html list (incompatible)
+!! wikitext
+; hi
+: {{echo|ho}}
+!! html/php
+- hi
+-
- ho
+
+!! html/parsoid
+- hi
+-
- ho
+!! end
+
!! test
Nested lists 1
!! wikitext
@@ -10657,6 +10691,43 @@ foo {{''}} baz
!! end
+## This test is about making sure Parsoid's data-mw is well formed in the
+## face of multiple templates with intersecting and overlapping ranges. The
+## wikitext itself is wretched.
+!! test
+Templates with intersecting and overlapping ranges
+!! wikitext
+{|{{echo|
+ha
}}
+{|{{echo|
+ho
}}
+{{echo|{{!}}hi}}
+|}
+!! html/php+tidy
+ha
+ho
+
+
+!! html/parsoid
+ha
ho
+!! end
+
!! article
Template:MSGNW test
!! text
@@ -20689,9 +20760,11 @@ HTML5 data attributes
Strip reserved data attributes
!! wikitext
d
-!! html
+!! html/php
d
+!! html/parsoid
+d
!! end
!! test
--
2.20.1