Closed (fixed)
Project:
Nice Menus
Version:
5.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2008 at 18:32 UTC
Updated:
14 Dec 2008 at 14:21 UTC
I've noticed that Nice Menu appears to double-encode the menu titles. This results in a literal "&" being printed on the page -- i.e., the HTML reads &.
Change line 184:
$block['subject'] = '<span class="'. $class .'">'. check_plain($subject) .'</span>';
...to this:
$block['subject'] = '<span class="'. $class .'">'. $subject .'</span>';
...fixes the problem. Hooray!
Comments
Comment #1
todd nienkerk commentedHTML encoding got the best of me there, too. That should read:
Comment #2
add1sun commentedUgh, my bad. I'll try to fix that this week.
Comment #3
add1sun commentedfixed