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.
Small error in how the HTML is printed in page.tpl.php:
<div id="columns"<?php print $page['menu_bar'] ? 'class="no-menu-bar"' : '' ;?>><div class="columns-inner clearfix">
Should have a space after the id="columns", otherwise the attributes are glued together and generate invalid HTML:
<div id="columns" <?php print $page['menu_bar'] ? 'class="no-menu-bar"' : '' ;?>><div class="columns-inner clearfix">
I'll submit a patch. Tested against 7.x-2.x and 7.x-3.x branches.
Comment | File | Size | Author |
---|---|---|---|
#1 | 0001-Issue-1623214-add-a-space-between-id-and-class-attri.patch | 829 bytes | bgm |
Comments
Comment #1
bgm CreditAttribution: bgm commentedHere's a trivial patch against 7.x-3.x. Should apply to 7.x-2.x as well.
Comment #2
rudetrue CreditAttribution: rudetrue commentedsubscribing..
Comment #3
Jeff Burnz CreditAttribution: Jeff Burnz commentedSorry, this got fixed inadvertently along the way. Closing.