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.
The HTML generated by system_preprocess_block (in system.module) when outputting menu blocks contains an attribute called 'classes' that contains 'block-menu'.
This was probably created by somebody accidentally writing out 'class' as 'classes' in the attributes array.
Wrong:
<div id="block-footer" class="block block-system contextual-region" role="navigation" classes="block-menu">
I will attach a patch after I get an issue number.
Comment | File | Size | Author |
---|---|---|---|
#1 | classes-2003388-1.patch | 494 bytes | nicholaspaun |
Comments
Comment #1
nicholaspaun CreditAttribution: nicholaspaun commentedComment #2
Sam MoorePatch in #1 works for me.
Comment #3
benjifisherWith a fresh install of D8, Minimal profile, the Tools menu on the home page looks like this before the patch:
and after the patch it looks like this:
+1 for RTBC
Comment #4
alexpottnice catch! Committed 7924d88 and pushed to 8.x. Thanks!