I have noticed that even when I strip all the classes on my menu (.leaf, .first,...) that the attribute "class" remains resulting in invalid markup. Like the example below.
<li class>menu link</li>

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

wouter.v’s picture

I've created a little patch for this. See attached file.

EDIT: something went wrong with the patch. Looking for fix.

wouter.v’s picture

FileSize
1011 bytes

Correct patch for this issue. (patch against dev version)