From 7aa15f722066f84f94c0703721e90be920357757 Mon Sep 17 00:00:00 2001 From: Subramanya Sastry Date: Tue, 20 Mar 2018 11:09:40 -0500 Subject: [PATCH] Sync up with Parsoid parserTests.txt This now aligns with Parsoid commit 3f79aa9fd48e68d32d1b9bdc3e29ec4536f297b8 Change-Id: I12249e39ddc6e3344a9dd8a1545b129ed469e184 --- tests/parser/parserTests.txt | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 261bce1b85..3f4ecadc9e 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -9776,6 +9776,10 @@ Multiple list tags generated by templates
  • b
  • c
  • +!! html/parsoid +
  • a +
  • b +
  • c
  • !!end !!test @@ -13038,10 +13042,14 @@ Templates: Wiki Tables: 1a. Fostering of entire template content a -!! html+tidy +!! html/php+tidy a
    +!! html/parsoid +

    a

    + +
    !! end !!test @@ -17391,9 +17399,8 @@ Media link with nasty text !! html/php Safe Link<div style="display:none">" onmouseover="alert(document.cookie)" onfoo="</div> -!! html+php/tidy -

    Safe Link

    -
    " onmouseover="alert(document.cookie)" onfoo="
    +!! html/php+tidy +

    Safe Link

    " onmouseover="alert(document.cookie)" onfoo="
    !! html/parsoid

    Safe Link

    " onmouseover="alert(document.cookie)" onfoo="
    @@ -23129,6 +23136,7 @@ Line two Line two

    !! end +# Parsoid's output is broken on this because of Tidy-compatibility cruft !! test T8200: paragraphs inside blockquotes (extra line break on close) !! wikitext @@ -23524,7 +23532,7 @@ comment Bad images - basic functionality !! wikitext [[File:Bad.jpg]] -!! DISABLED/html/php +!! html/php+disabled !! html/parsoid

    !! end @@ -23535,7 +23543,7 @@ Bad images - T18039: text after bad image disappears Foo bar [[File:Bad.jpg]] Bar foo -!! DISABLED/html/php +!! html/php+disabled

    Foo bar

    Bar foo

    @@ -27703,7 +27711,7 @@ parsoid=html2wt !! html/parsoid !! wikitext -* a
    b +* a
    b * c !! end @@ -28403,9 +28411,9 @@ parsoid=html2wt,wt2wt |- |- |- -|
    +|
    - -|
    +|
    - |} !! html/php+tidy @@ -28858,7 +28866,7 @@ parsoid={ !! html/parsoid

    foo
    bar

    !! wikitext -== foo
    bar == +== foo
    bar == !! end !! test @@ -29938,6 +29946,9 @@ wgFragmentMode=[ 'html5', 'legacy' ]

    Foo bar[edit]

    #Foo bar

    +!! html/parsoid +

    Foo bar

    +

    #Foo bar

    !! end !! test -- 2.20.1