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

todd nienkerk’s picture

This results in a literal "&" being printed on the page...

HTML encoding got the best of me there, too. That should read:

This results in a literal &amp; being printed on the page

add1sun’s picture

Ugh, my bad. I'll try to fix that this week.

add1sun’s picture

Status: Active » Fixed

fixed

Status: Fixed » Closed (fixed)

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