Bootstrap List Group formatter adds <p> tags

Created on 3 August 2024, 8 months ago
Updated 17 August 2024, 8 months ago

Problem/Motivation

I have labelled this as a bug as that is how I see it, however, you may reasonable interpret it Support or Feature request.

When using the Bootstrap List Group formatter, the module adds unecessary <p> tags around each item as illustrated below…

Fields rows

<li class="list-group-item">
  <p class="list-group-item-text">
    ...field(s) here
  </p>
</li>

Content rows

<li class="list-group-item">
  <p class="list-group-item-text"></p>
...article teaser here
  <p></p>
</li>

The wrapping itself is a good idea but I suggest not using the <p> tag since that is very likely to have a non-zero height in most themes and will then have to be targeted so as not to impact the renderd page appearing as 'padding' above and below each row β€” suggest <span> instead.

Thank you

πŸ› Bug report
Status

Fixed

Version

5.5

Component

List group

Created by

πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024