From 7fa2c9434e1aa2edec76bacd6180d1a75d310655 Mon Sep 17 00:00:00 2001 From: Arlo Breault Date: Tue, 2 Jan 2018 10:39:45 -0500 Subject: [PATCH] Sync up with Parsoid parserTests.txt This now aligns with Parsoid commit 28d7734fa2385a8fa599e3ce1bfbcd8582c05bc4 Change-Id: Iee7f3f0022c9c770c1a02b401699df0915ea7c86 --- tests/parser/parserTests.txt | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 840c74dbb9..aa03c0ed9d 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -12633,6 +12633,19 @@ parsoid=wt2html

!! end +!! test +Preprocessor precedence 17: template w/o target shouldn't prevent closing +!! options +parsoid=wt2html +!! wikitext +{{echo|hi {{}}}} +!! html/php +

hi {{}} +

+!! html/parsoid +

hi {{}}

+!! end + ### ### Token Stream Patcher tests ### @@ -30608,3 +30621,25 @@ b

2

b

!! end + +!! test +Pseudo-sections emitted by templates should have id -2 +!! options +parsoid={ + "wrapSections": true +} +!! wikitext +foo +{{echo|
+== a == +== b == +
+}} +!! html/parsoid +

foo

+
+

a

+

b

+
+
+!! end -- 2.20.1