From: Stefan S. <st...@no...> - 2008-09-25 10:56:41
|
Phil Dawes <ph...@ph...> wrote: > I noticed that in the html.elements vocabulary the '=href' word > automatically url encodes any ampersands in the query string. e.g.: > > ( scratchpad ) "?a=b&b=a" =href nl > href='?a=b&b=a' > > This causes problems when you're constructing a URL with query > parameters. This is correct HTML. & in HTML text must be encoded as the entity &. You can try to validate your page with and without the entity. But don't ask PHP users! They tend to do it the wrong way. See the "PHP Cookbook". -- Web (en): http://www.no-spoon.de/ -*- Web (de): http://www.frell.de/ |