Sync up core repo with Parsoid
This now aligns with Parsoid commit b19f73d7beadedcb6991640aac7eb7d6e7aec8f5 Change-Id: Ief91b25769f777169af65c9720faa767850f6239
This commit is contained in:
parent
1b65e8ba83
commit
714a7146d6
1 changed files with 19 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue