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

antonio.bertolini created an issue. See original summary.

greatmatter’s picture

Thank you very much for this--I can confirm both the problem and the fix.

  • markcarver committed 3e1e97f on 7.x-3.x
    Issue #2854978 by antonio.bertolini: Title in menu is escaped if "html"...
markhalliwell’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.