Posted by ppatriotis on July 3, 2009 at 9:15pm
Jump to:
| Project: | Nice Menus |
| Version: | 6.x-2.x-dev |
| Component: | CSS |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I have a path that a menu item uses with a period in it (e.g. http://drupal.org). The following code could name the class "menu-path-drupal.org". Shouldn't the period be removed?
I see this line:
$clean_path = str_replace(array('http://', '<', '>', '&', '=', '?', ':'), '', $menu_item['link']['href']);
Should '.' be added?
Comments
#1
#2
Added period to the strip list in HEAD.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.