W3C home > Mailing lists > Public > www-validator@w3.org > July 2009

Re: Ampersands in URLs not working with HTML5 validator

From: Andreas Prilop <andreasprilopwww@trashmail.net>
Date: Thu, 23 Jul 2009 16:46:01 +0200 (CEST)
To: www-validator@w3.org
cc: "Chris O'Donnell" <odn@me.com>
Message-ID: <Pine.LNX.4.64.0907231635200.7655@sarge.rrzn.uni-hannover.de>
On Wed, 22 Jul 2009, Chris O'Donnell wrote:

> All the errors for this page are un-escaped ampersands in URLs

What's so special about URLs, hmmm?
Your problem has nothing, absolutely nothing to do with URLs.
When you want an ampersand,
you write  &      in text/plain and
you write  &amp;  in text/html.
So simple - has nothing, absolutely nothing to do with URLs.

Look at  http://freenet-homepage.de/prilop/ampersand.html
and carefully inspect the page source.
 http://freenet-homepage.de/prilop/ampersand.text

Can you see? It's irrelevant whether  &  appears in URLs or not.
Received on Thursday, 23 July 2009 14:46:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:36 GMT