X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fparser%2FparserTests.txt;h=aa03c0ed9dd7ce42c97c9c4c53092c9196fae723;hb=236488d398046838059f758b0915341648b64c7b;hp=840c74dbb9673ebcf6299cfc450c4d44a33bfce2;hpb=ffaf2020c4154d79fb954c1676f482e408ba503c;p=lhc%2Fweb%2Fwiklou.git 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