Closed (fixed)
Project:
Bootstrap
Version:
7.x-3.11
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2017 at 17:11 UTC
Updated:
9 Mar 2017 at 00:34 UTC
Jump to comment: Most recent
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 commentedThank you very much for this--I can confirm both the problem and the fix.
Comment #4
markhalliwell