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.
One line 132 of megamenu.utilities.inc in the current developer edition:
$output = substr($output, 0, strlen($output) - strlen('</div>'));
This is causing major levels of broken-ness in a site that worked with a dev from 2013.
This is the offending line and used to be:
$output = str_replace('</div>','',$output);
I think this needs to be refactored at some point, but I'm thinking others may be having this issue also.
Comment | File | Size | Author |
---|---|---|---|
#4 | stripping-out-div-issue-2752139-4.patch | 472 bytes | ElusiveMind |
Comments
Comment #2
ElusiveMind CreditAttribution: ElusiveMind commentedComment #3
ElusiveMind CreditAttribution: ElusiveMind commentedComment #4
ElusiveMind CreditAttribution: ElusiveMind commentedComment #5
ElusiveMind CreditAttribution: ElusiveMind commented