& in menu wont Validate

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
volcanoboy

& in menu wont Validate

Post by volcanoboy »

Hey,

I've had this problem on many releases. I'm now using 1.3 and if i have a menu called "Products & Solutions" the page wont validate because it doesn't escape it as "&". I have to set the page title to "Products and Solutions" and the menu text to "Products & Solutions"

Not a huge thing but thought i'd mention it..
cyberman

Re: & in menu wont Validate

Post by cyberman »

Hmm, works for me ...

Which encoding do you are using?
volcanoboy

Re: & in menu wont Validate

Post by volcanoboy »

hmm,

that's strange. I swear when i tred to validate the pages with "&" in the menu i got loads of errors telling me i hadn't escaped it.  I even verified it by checking the source. But seems it's working now  ???

But as long as we're talking validation. I'm getting a warning on my search field that i don't really see what's causing.

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.s3-id.com%2F2008%2Fproducts-solutions&charset=%28detect+automatically%29&doctype=Inline&group=0
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: & in menu wont Validate

Post by Dr.CSS »

It may be from the   after the : ...

You may want to put the space in using CSS...
cyberman

Re: & in menu wont Validate

Post by cyberman »

volcanoboy wrote: I'm getting a warning on my search field that i don't really see what's causing.
Maybe this helps

http://forum.cmsmadesimple.org/index.ph ... #msg110787
Locked

Return to “CMSMS Core”