{
    "Section wrapping for well-nested sections (with leading content)": {
        "selser [[3,2,0,0,0,4],[4,0,3,3],[2,4,2,4,[4,0,3]]]": "1zs67o\n\n\n\nPara 2 with a <div>nested in it</div>\n\nPara 3.\n\n5l3bd0\n\n95g4oe\n\n1tj68pl\n\n=2=\n845rsnm6rdk9\nb\n1mca6yt\n82xt5f\n",
        "selser [[2,2,0,0,4,0],[3,3,2,2],[4,0,1,0,1]]": "8jyud8\n\nPara 1.\n\n1a7r90a\n\n\n\nPara 2 with a <div>nested in it</div>\n\n1j092on\n\ndnlgj1\n\na\n\n1dho922\n\n1sq6gvq\n\nb\n\n==2.1==\nc",
        "selser [[1,2,0,3,2,0],4,[0,0,2,0,[2,0,0]]]": "Para 1.\n\nrty8v2\n\n\n\nPara 2 with a <div>nested in it</div>1ykply9\nPara 3.\n\n12xqy01\n\n=2=\na3diha\n\nb\n\nk34lms\n\n==2.1==\nc"
    },
    "T215628: Section numbering and <includeonly> and <noinclude> on a page": {
        "wt2html": "<section data-mw-section-id=\"0\" data-parsoid=\"{}\"><meta property=\"mw:PageProp/toc\" data-parsoid=\"{}\" data-mw='{\"autoGenerated\":true}'/></section><section data-mw-section-id=\"1\" data-parsoid=\"{}\"><h2 id=\"PHP_section=1\" data-parsoid='{\"dsr\":[0,17,2,2]}'><span id=\"PHP_section.3D1\" typeof=\"mw:FallbackId\" data-parsoid='{\"dsr\":[2,2,null,null]}'></span>PHP section=1</h2>\n<meta typeof=\"mw:Includes/NoInclude\" data-parsoid='{\"src\":\"&lt;noinclude>\",\"dsr\":[18,29,null,null]}'/>\n</section><section data-mw-section-id=\"1\" data-parsoid=\"{}\"><h2 id=\"PHP_section=2\" data-parsoid='{\"dsr\":[30,47,2,2]}'><span id=\"PHP_section.3D2\" typeof=\"mw:FallbackId\" data-parsoid='{\"dsr\":[32,32,null,null]}'></span>PHP section=2</h2>\n<meta typeof=\"mw:Includes/NoInclude/End\" data-parsoid='{\"src\":\"&lt;/noinclude>\",\"dsr\":[48,60,null,null]}'/>\n</section><section data-mw-section-id=\"2\" data-parsoid=\"{}\"><h2 id=\"PHP_section=3\" data-parsoid='{\"dsr\":[61,78,2,2]}'><span id=\"PHP_section.3D3\" typeof=\"mw:FallbackId\" data-parsoid='{\"dsr\":[63,63,null,null]}'></span>PHP section=3</h2>\n<meta typeof=\"mw:Includes/IncludeOnly\" data-parsoid='{\"dsr\":[79,144,null,null]}' data-mw='{\"src\":\"&lt;includeonly>\\n==This is not counted as section 4==\\n&lt;/includeonly>\"}'/><meta typeof=\"mw:Includes/IncludeOnly/End\" data-parsoid='{\"src\":\"\",\"dsr\":[144,144,null,null]}'/>\n</section><section data-mw-section-id=\"3\" data-parsoid=\"{}\"><h2 id=\"PHP_section=4\" data-parsoid='{\"dsr\":[145,162,2,2]}'><span id=\"PHP_section.3D4\" typeof=\"mw:FallbackId\" data-parsoid='{\"dsr\":[147,147,null,null]}'></span>PHP section=4</h2></section>",
        "html2html": "<section data-mw-section-id=\"0\" data-parsoid=\"{}\"><p data-parsoid='{\"dsr\":[0,31,0,0]}'>PARSOID HAS A BUG HERE: T215628</p></section>",
        "html2wt": "PARSOID HAS A BUG HERE: T215628"
    },
    "T265737: 1. Relax section start requirements to reduce unnecessary conflicts between template and section boundaries": {
        "wt2wt": "=x=\n{{Foobar1}}\ny\n",
        "selser [1,2]": "cj1l50\n\n= x =\n{{Foobar1}}\ny",
        "selser [0,[2,0,0]]": "1bno6v9\n\n= x =\n{{Foobar1}}\ny",
        "selser [0,[0,4,3]]": "= x =\n1e2ahe6",
        "selser [3,[0,0,4]]": "= x =\n1ua4q6y",
        "selser [0,[0,2,1]]": "= x =\nd7tf2t\n{{Foobar1}}\ny",
        "selser [0,1]": "= x =\n{{Foobar1}}\ny",
        "selser [3,2]": "1vzjzp3\n\n= x =\n{{Foobar1}}\ny",
        "selser [0,[[2],4,0]]": "= xhnq3ix =\nj9zn6o{{Foobar1}}\ny",
        "selser [4,[2,4,0]]": "as6oir\n\ne6vzbu\n\n= x =\nx08cdh{{Foobar1}}\ny",
        "selser [0,[[4],3,4]]": "= 13nl6s3 =\n1pf7jha",
        "selser [2,[[2],4,0]]": "16s36n7\n\n= 15ncl95x =\noayw2d{{Foobar1}}\ny",
        "selser [0,[2,3,0]]": "1deeldu\n\n= x =\n{{Foobar1}}\ny"
    },
    "T265737: 2. Relax section start requirements to reduce unnecessary conflicts between template and section boundaries": {
        "wt2wt": "=x=\n{{Foobar2}}\ny",
        "selser [1,[1,0,1]]": "= x =\n{{Foobar2}}\ny",
        "selser [0,[0,2,4]]": "= x =\n1slz6ap\n1qesp11",
        "selser [3,[[2],0,0]]": "= k0nav2x =\n{{Foobar2}}\ny",
        "selser [0,[1,3,0]]": "= x =\n{{Foobar2}}\ny",
        "selser [1,[[2],0,0]]": "= uvyd1bx =\n{{Foobar2}}\ny",
        "selser [3,[2,2,0]]": "n86w0\n\n= x =\navi8ik\n{{Foobar2}}\ny",
        "selser [1,2]": "1cqzcni\n\n= x =\n{{Foobar2}}\ny",
        "selser [2,[1,0,1]]": "10ocvou\n\n= x =\n{{Foobar2}}\ny",
        "selser [0,1]": "= x =\n{{Foobar2}}\ny",
        "selser [2,1]": "1khnb26\n\n= x =\n{{Foobar2}}\ny",
        "selser [0,2]": "1xm4pn9\n\n= x =\n{{Foobar2}}\ny"
    }
}
