Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Steps to reproduce
- Enable Borealis Semantic Blocks.
- Create a block with an empty title.
What happens
BSB produces an empty pair, e. g.:
<nav class="block block-menu" id="block-menu-menu-documents">
<header> </header>
<ul class="menu">
<li class="first leaf">...</li>
...
</ul>
</nav>
What should happen
The tag pair should be omitted, e. g.:
<nav class="block block-menu" id="block-menu-menu-documents">
<ul class="menu">
<li class="first leaf">...</li>
...
</ul>
</nav>
Comment | File | Size | Author |
---|---|---|---|
#1 | borealis-sb-empty-header-tag-pair-1054616.patch | 5.86 KB | lolmaus |
Comments
Comment #1
lolmaus CreditAttribution: lolmaus commentedAttaching a patch.
Comment #2
Snugug CreditAttribution: Snugug commentedCommitted into Dev. Thanks for the patch!
Comment #2.0
Snugug CreditAttribution: Snugug commentedChanged
s to
s