Sync up core repo with Parsoid

This now aligns with Parsoid commit b19f73d7beadedcb6991640aac7eb7d6e7aec8f5

Change-Id: Ief91b25769f777169af65c9720faa767850f6239
This commit is contained in:
C. Scott Ananian 2024-10-02 10:43:36 -04:00
parent 1b65e8ba83
commit 714a7146d6

View file

@ -4861,9 +4861,27 @@ foo
T2041: Template parameters shown as broken links
!! wikitext
{{{parameter}}}
!! html
!! html/php
<p>{{{parameter}}}
</p>
!! html/parsoid
<p about="#mwt1" typeof="mw:Param" data-mw='{"parts":[{"templatearg":{"target":{"wt":"parameter"},"params":{},"i":0}}]}'>{{{parameter}}}</p>
!! end
!! test
Unsubstituted template argument with newlines
!! wikitext
{{{testing
123}}}
!! html/php
<p>{{{testing
</p><p>123}}}
</p>
!! html/parsoid
<p about="#mwt1" typeof="mw:Param" data-mw='{"parts":[{"templatearg":{"target":{"wt":"testing\n\n123"},"params":{},"i":0}}]}'>{{{testing</p><span about="#mwt1">
</span><p about="#mwt1">123}}}</p>
!! end
!! test