Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
similar to
https://www.drupal.org/node/2849125
in function bootstrap_menu_link if title contains "&" is converted in "&". That's appen only if submenu is not opened:
if ($element['#below']) {
...
$options['html'] = TRUE;
...
}
return '<li' . drupal_attributes($attributes) . '>' . l($title, $href, $options) . $sub_menu . "</li>\n";
line
$options['html'] = TRUE;
must be moved outside (after) if statement.
Comments
Comment #2
greatmatter CreditAttribution: greatmatter commentedThank you very much for this--I can confirm both the problem and the fix.
Comment #4
markhalliwell