Closed (fixed)
Project:
Special menu items
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jul 2012 at 14:03 UTC
Updated:
31 Jul 2012 at 22:21 UTC
Regular expression used to create closing tag in function special_menu_items_render_menu_item() is wrong. Generated closing tag for i.e <span> is </s> instead of </span>. This causes bad behaviour of some modules like nice menus that can no longer display submenus. This may also fix problems reported by others like issues 1152500 or 1464774
Provided patch fixes regex and generates correct closing tag (</span> instead of </s>)
| Comment | File | Size | Author |
|---|---|---|---|
| fix_bad_closing_tag.patch | 924 bytes | marci003 |
Comments
Comment #1
gagarine commentedThanks for the patch. I will fell more comfortable commit it if someone else can review that.
Comment #2
elBradford commentedThis patch fixes it for me, putting the ul of the child items as a sibling of the span instead of its child.
Comment #3
gagarine commentedcommitted thanks http://drupalcode.org/project/special_menu_items.git/commit/f2dba96
Comment #4.0
(not verified) commentedtypo fix