By jonathanshaw on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.7.x
Introduced in version:
8.7.0
Issue links:
Description:
Drupal assigns identifiers to comments displayed on a page, in order to allow deep-linking to specific comments. (e.g. "node/41#comment-42").
Previously these links used an empty HTML anchor inserted for this purpose before each comment.
<a id="comment-42"></a>
<div class="comment">
<div>comment contents</div>
</div>Now the id is placed on the actual element that contains the comment:
<div id="comment-42" class="comment">
<div>comment contents</div>
</div>This change can cause disruption for code, such as automated tests, that expects particular HTML markup to be present.
Impacts:
Themers