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