This specific HTML content, which utilizes Bootstrap 4, is performing just as I had anticipated.
<h6>
01 - 01 - Apache.wav <span class="badge badge-pill badge-secondary">Updated</span>
<span class="badge badge-pill badge-success">
MusicBrainz
</span>
<span class="badge badge-pill badge-success">
Discogs
</span>
</h6>
https://i.sstatic.net/62FKS.png However, when I remove the pretty printing from the code snippet:
<h6>01 - 01 - Apache.wav <span class="badge badge-pill badge-secondary">Updated</span><span class="badge badge-pill badge-success">MusicBrainz</span><span class="badge badge-pill badge-success">Discogs</span></h6>
it results in a lack of padding between the badges.
https://i.sstatic.net/60cpc.png I'm curious to know why this occurs. Could it be related to having text within an h6 element followed by span elements? Is there a mistake in my HTML structure?