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.
First, thanks for this module, it's very useful.
I use your module to show the sitemap of my site, and I have 3 menus.
When viewing the sitemap page, my blocks were misplaced : it comes from an excess div ending on line 170 of sitemap.module :
function theme_site_map_box($title, $content, $class = '') {
//return '<div class="sitemap-box '. $class .'"><h2 class="title">'. $title .'</h2><div class="content">'. $content .'</div></div>';
return '<div class="content">'. $content .'</div><div>';
}
suppresses one of the
in the return
:
return '<div class="content">'. $content .'</div>';
and it's ok !
Comments
Comment #1
frjo CreditAttribution: frjo commentedThe extra closing div is for closing "div class=sitemap-box". Looks right to me.
Comment #2
hass CreditAttribution: hass commentedIsn't invalid html not a bug i reportet earlier and that has been fixed... Try latest dev's, please.
Comment #3
hass CreditAttribution: hass commented#652478: Taxonomy tree outputs invalid HTML code