Steps to reproduce

  1. Enable Borealis Semantic Blocks.
  2. 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>
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lolmaus’s picture

Status: Active » Needs review
FileSize
5.86 KB

Attaching a patch.

Snugug’s picture

Status: Needs review » Closed (fixed)

Committed into Dev. Thanks for the patch!

Snugug’s picture

Issue summary: View changes

Changed

s to

s