From c6b1f32dff3f8dfde558819e18cf963ee5c1eae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Thu, 24 Nov 2022 13:49:11 +0100 Subject: [PATCH] Update parser tests for new heading HTML Bug: T13555 Depends-On: I1180169a8e83af834c2984ba16089e6277f2a8dd Change-Id: I4d2be132e63aff7bf8953f0f371e806a834db10d --- tests/parser/luaParserTests.txt | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tests/parser/luaParserTests.txt b/tests/parser/luaParserTests.txt index f6c78dc5..108fec31 100644 --- a/tests/parser/luaParserTests.txt +++ b/tests/parser/luaParserTests.txt @@ -429,13 +429,18 @@ parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } !! test Scribunto: expandTemplate with headers !! options -parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } +parsoid={ "modes": ["wt2html","wt2wt"] } +!! config +wgParserEnableLegacyHeadingDOM=false !! wikitext ==foo== {{#invoke:test|testExpandTemplateWithHeaders}} -!! html -

foo[edit]

-

bar[edit]

+!! html/php +

foo

[edit]
+

bar

[edit]
+!! html/parsoid +

foo

+

bar

!! end !! test