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

next in thread | previous in thread | raw e-mail | index | archive | help
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).



-- 
Matthew Fuller     (MF4839)   |  fullermd@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

"The only reason I'm burning my candle at both ends, is because I
      haven't figured out how to light the middle yet"

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?20021227040739.GC98049>