Forums Index > Mewsoft Products > Auctionawy > unescaped ampersand "&"
brainzz1 First Post Posted on: 10-05-11 05:39 AM
unescaped ampersand "&"

if user enter a description "2007 LEAF R&S LONGEVITY RANDY MOSSCARD,MINT" - how do i change invalid symbols like & to & thanks doc
mewsoft Reply #: 1 Posted on: 10-05-11 03:15 PM
Re: unescaped ampersand "&"

Not sure what you want, I posted an ad with the "R&S" in the title and description and they both display fine.

Thanks


Mewsoft Support
www.mewsoft.com

brainzz1 Reply #: 2 Posted on: 10-05-11 05:26 PM
Re: unescaped ampersand "&"

yes, it displayed ok, but if you check my homepage with w3cvalidator, you'll see that that only that symbols invalid there and i want to have valid w3c xhtml on my site.please advise me what i can do to replace invalid symbols from userinput, so my pages will have valid code
brainzz1 Reply #: 3 Posted on: 10-06-11 11:44 AM
Re: unescaped ampersand "&"

ahmed? i have tech people waiting for your answer,lets go doc
mewsoft Reply #: 4 Posted on: 10-06-11 12:05 PM
Re: unescaped ampersand "&"

You seems misunderstanding, you donot need to valid items html code, you will never attain that, the users use any none valid code to display their items, you can not control this under any conditions, we can not do html code validation in user submissions. Of course you can turn off html code in items submissions and allow only plain text. Anyway, those html validator are useless, crawlers like google, yahoo, msn, will index all pages whatever the html code is, they never worry about validation, so forget that.


Mewsoft Support
www.mewsoft.com