Possible Duplicate:
How do I insert a <span> </span> tag inside the <a> </a> tag on my main menu
I tried the code found in How do I insert a <span> </span> tag inside the <a> </a> tag on my main menu, and I have a problem with it: while it does add the span tags, it also strips out the main menu's unordered list and classes.
How do I add the span tags inside the main menu links while also keeping the unordered list and the list menu classes?
ul
andli
and the attribute classes. The output for the answer results in this and the output I'm looking for is this.(please also see my comment below) I guess my question should have been: How do I add the span tags inside the main menu links while also keeping theul
and theli
tags and associated classes and not converting the opening and closing tags to gt and lt.