From: Arlo Breault Date: Mon, 25 Jan 2016 20:03:07 +0000 (-0800) Subject: Sync up with Parsoid parserTests. X-Git-Tag: 1.31.0-rc.0~8215^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20%20%20%24self2%20.%20%20%20%22&var_mode_affiche=boucle?a=commitdiff_plain;h=67b0c669a57d097e85b1eeda5e8e7b510ee53df8;p=lhc%2Fweb%2Fwiklou.git Sync up with Parsoid parserTests. This now aligns with Parsoid commit b04ce02432166128a295c0f00ac1d64c6a469a81 Change-Id: I9f27dc299b87aa265039c0e25084489810c0f7c8 --- 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

    + + + + + + + +
    hi
    + + + + +
    +!! html/parsoid +

    ha

    + +

    ho

    + + +
    hi
    +!! 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