From bb281c0317006ecfc4a3414d8ef1a4d2b2349b31 Mon Sep 17 00:00:00 2001 From: "C. Scott Ananian" Date: Tue, 18 Aug 2015 19:24:27 -0400 Subject: [PATCH] Sync up with Parsoid parserTests. This now aligns with Parsoid commit e2aa4e4159b9c7b5350567f26f5f14780843a368 Change-Id: I64b4e901ece0e66011b5110312885fab9c8b9cb8 --- tests/parser/parserTests.txt | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 266b2b01ac..9d46b1204e 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -13333,7 +13333,7 @@ T107474: Frameless image caption with !! wikitext [[File:Foobar.jpg|text with a [[MeatBall:Link|link]] in it]] !! html/parsoid -

+

!! end !! test @@ -13756,6 +13756,18 @@ bar bar

!! end +## Edge case bug in Parsoid +!! test +T93580: Templated inside images +!! wikitext +[[File:Foobar.jpg|thumb|Caption with templated ref: {{echo|foo}}]] + + +!! html/parsoid +
Caption with templated ref: [1]
+ +
  1. ↑ foo
+!! end ### ### Subpages @@ -24572,7 +24584,7 @@ parsoid={ "scrubWikitext": true } !! html/parsoid -

foo [1]

+

foo [1]

  1. ↑ bar
!! wikitext @@ -24662,7 +24674,7 @@ parsoid=html2wt

hi there you

-

foo [1]

+

foo [1]

  1. ↑ hello there
-- 2.20.1