Debian Codegraph @

vendor/wikimedia/parsoid/tests/parser/attributeExpanderTests.txt

raw
1 !! Version 2
2
3 !! article
4 Template:1x
5 !! text
6 {{{1}}}
7 !! endarticle
8
9 # Bug: T322557
10 !! test
11 Multiple transclusions in discarded table attribute position should be handled properly
12 !! options
13 parsoid=wt2html
14 !! wikitext
15 {| <span>{{1x|a}}</span> {{1x|1=k=
16 v}}
17 |}
18 !! html/parsoid
19 <p about="#mwt2" typeof="mw:Transclusion" data-parsoid='{"pi":[[{"k":"1","named":true}]],"firstWikitextNode":"TABLE"}' data-mw='{"parts":["{| &lt;span>{{1x|a}}&lt;/span> ",{"template":{"target":{"wt":"1x","href":"./Template:1x"},"params":{"1":{"wt":"k=\nv"}},"i":0}},"\n|}"]}'>
20 v</p><table about="#mwt2" typeof="mw:ExpandedAttrs" data-mw='{"attribs":[[{"txt":"a","html":"&lt;span data-parsoid=&apos;{\"stx\":\"html\",\"dsr\":[3,24,6,7]}&apos;>&lt;span about=\"#mwt1\" typeof=\"mw:Transclusion\" data-parsoid=&apos;{\"pi\":[[{\"k\":\"1\"}]],\"dsr\":[9,17,null,null]}&apos; data-mw=&apos;{\"parts\":[{\"template\":{\"target\":{\"wt\":\"1x\",\"href\":\"./Template:1x\"},\"params\":{\"1\":{\"wt\":\"a\"}},\"i\":0}}]}&apos;>a&lt;/span>&lt;/span> k=","uneditable":true},{"html":""}]]}'>
21 </table>
22 !! end