Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2002 19:15:57 +0000
From:      Hiten Pandya <hiten@unixdaemons.com>
To:        "Matthew D. Fuller" <fullermd@over-yonder.net>
Cc:        "Greg 'groggy' Lehey" <grog@FreeBSD.org>, freebsd-doc@FreeBSD.org, Farhad Saberi <farhad.saberi@mail.mcgill.ca>
Subject:   Re: Bad vinum html page
Message-ID:  <3E0CA6ED.4050208@unixdaemons.com>
References:  <3E0B2FF5.30505@unixdaemons.com> <20021226223611.GB21641@wantadilla.lemis.com> <20021227040739.GC98049@over-yonder.net>

next in thread | previous in thread | raw e-mail | index | archive | help

Matthew D. Fuller wrote:
> On Fri, Dec 27, 2002 at 09:06:12AM +1030 I heard the voice of
> Greg 'groggy' Lehey, and lo! it spake thus:
> 
>>>This can be solved by using single quotes e.g: <a href='...'>,
>>>because the &sektion is thought of as an entity by the parser.
>>
>>Hmm.  THe use of & in URLs is pretty common.  You'd think that the
>>standards people would have made some judgment on that.
> 
> 
> Actually, the general solution is to encode the '&'s properly as
> '&amp;'s.  It's not something the "standards people" can handwave away,
> since '&' starts an entity reference in SGML, and you can't undo THAT
> without undoing SGML (and XML, for that matter).

Yea; Thanks for mentioning that!

I had the same problem when I was developing a Bio- site, and the 
whole site checked out fine with the validator, except for the 
ampersand characters.  I don't know why I forgot to mention that.

Cheers.

-- 
Hiten
hiten@unixdaemons.com, hiten@uk.FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E0CA6ED.4050208>