mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-17 21:21:35 +00:00
9d2b35828d
Top-level comments that start or end with a list (inconsistent indentation) would not have triggered the logic for detecting wrappers. Bug: T273692 Change-Id: Idcb4eed73e391f5f86eca2eb05cb3cea0d86f30a
65 lines
5.8 KiB
HTML
65 lines
5.8 KiB
HTML
<h2 id="paragraph">paragraph</h2>
|
|
<p>blah blah <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 23:19, 22 January 2020 (UTC)</p><dl><dd data-parsoid="{}">Reply to c|Matma Rex|2020-01-22T23:19:00.000Z|paragraph</dd></dl>
|
|
|
|
<h2 id="preformatted">preformatted</h2>
|
|
<pre>blah blah <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 23:19, 22 January 2020 (UTC)</pre><dl><dd data-parsoid="{}">Reply to c|Matma Rex|2020-01-22T23:19:00.000Z|preformatted</dd></dl>
|
|
|
|
<h2 id="div_with_one_comment">div with one comment</h2>
|
|
<div style="background: beige;">
|
|
blah blah <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 23:19, 22 January 2020 (UTC)
|
|
</div><dl><dd data-parsoid="{}">Reply to c|Matma Rex|2020-01-22T23:19:00.000Z|div_with_one_comment</dd></dl>
|
|
|
|
<h2 id="two_divs_with_one_comment">two divs with one comment</h2>
|
|
<div style="background: beige;">
|
|
blah
|
|
</div>
|
|
<div style="background: beige;">
|
|
blah blah <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 23:19, 22 January 2020 (UTC)
|
|
</div><dl><dd data-parsoid="{}">Reply to c|Matma Rex|2020-01-22T23:19:00.000Z|two_divs_with_one_comment</dd></dl>
|
|
|
|
<h2 id="div_with_one_comment-htmlcomments">div with one comment, and some HTML comments</h2>
|
|
<div style="background: beige;">
|
|
<i>hello</i><br/>
|
|
<small>blah blah <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 23:19, 22 January 2020 (UTC)</small><!-- blah -->
|
|
</div><!-- blah --><dl><dd data-parsoid="{}">Reply to c|Matma Rex|2020-01-22T23:19:00.000Z|div_with_one_comment-htmlcomments</dd></dl>
|
|
|
|
<h2 id="two_divs_with_one_comment-htmlcomments">two divs with one comment, and some HTML comments</h2>
|
|
<div style="background: beige;">
|
|
blah
|
|
</div>
|
|
<!-- blah -->
|
|
<div style="background: beige;">
|
|
blah blah <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 23:19, 22 January 2020 (UTC)
|
|
</div><!-- blah --><dl><dd data-parsoid="{}">Reply to c|Matma Rex|2020-01-22T23:19:00.000Z|two_divs_with_one_comment-htmlcomments</dd></dl>
|
|
|
|
<h2 id="div_with_one_comment-list_end">div with one comment, ends with a list</h2>
|
|
<div style="background: beige;">
|
|
<p>hello</p>
|
|
<ul><li>blah blah <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 23:19, 22 January 2020 (UTC)</li></ul>
|
|
</div><dl><dd data-parsoid="{}">Reply to c|Matma Rex|2020-01-22T23:19:00.000Z|div_with_one_comment-list_end</dd></dl>
|
|
|
|
<h2 id="div_with_one_comment-list_start">div with one comment, starts with a list</h2>
|
|
<div style="background: beige;">
|
|
<ul><li>hello</li></ul>
|
|
<p>blah blah <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 23:19, 22 January 2020 (UTC)</p>
|
|
</div><dl><dd data-parsoid="{}">Reply to c|Matma Rex|2020-01-22T23:19:00.000Z|div_with_one_comment-list_start</dd></dl>
|
|
|
|
<h2 id="table_with_one_comment">table with one comment</h2>
|
|
<table border="1"><tbody><tr><td>
|
|
blah blah <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 23:19, 22 January 2020 (UTC)
|
|
</td></tr></tbody></table><dl><dd data-parsoid="{}">Reply to c|Matma Rex|2020-01-22T23:19:00.000Z|table_with_one_comment</dd></dl>
|
|
|
|
<h2 id="div_with_multiple_comments">div with multiple comments</h2>
|
|
<div style="background: beige;">
|
|
blah blah <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 23:19, 22 January 2020 (UTC)
|
|
<dl><dd>blah blah <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 23:19, 22 January 2020 (UTC)<dl><dd data-parsoid="{}">Reply to c|Matma Rex|2020-01-22T23:19:00.000Z|Matma Rex|2020-01-22T23:19:00.000Z</dd></dl></dd><dd data-parsoid="{}">Reply to c|Matma Rex|2020-01-22T23:19:00.000Z|div_with_multiple_comments</dd></dl>
|
|
blah blah <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 23:19, 22 January 2020 (UTC)
|
|
<dl><dd data-parsoid="{}">Reply to c|Matma Rex|2020-01-22T23:19:00.000Z|div_with_multiple_comments|1</dd></dl></div>
|
|
|
|
<h2 id="table_with_multiple_comments">table with multiple comments</h2>
|
|
<table border="1"><tbody><tr><td>
|
|
blah blah <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 23:19, 22 January 2020 (UTC)
|
|
<dl><dd>blah blah <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 23:19, 22 January 2020 (UTC)<dl><dd data-parsoid="{}">Reply to c|Matma Rex|2020-01-22T23:19:00.000Z|Matma Rex|2020-01-22T23:19:00.000Z|1</dd></dl></dd><dd data-parsoid="{}">Reply to c|Matma Rex|2020-01-22T23:19:00.000Z|table_with_multiple_comments</dd></dl>
|
|
blah blah <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 23:19, 22 January 2020 (UTC)
|
|
<dl><dd data-parsoid="{}">Reply to c|Matma Rex|2020-01-22T23:19:00.000Z|table_with_multiple_comments|1</dd></dl></td></tr></tbody></table>
|