mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-23 13:24:28 +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
4.2 KiB
HTML
65 lines
4.2 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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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 -->
|
|
|
|
<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 -->
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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)</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)
|
|
</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)</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)
|
|
</td></tr></tbody></table>
|