Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 1997 11:49:36 -0500 (EST)
From:      John Fieber <jfieber@indiana.edu>
To:        Satoshi Asami <asami@freefall.freebsd.org>
Cc:        CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-share@freefall.freebsd.org
Subject:   Re: cvs commit:  src/share/doc/handbook contrib.sgml
Message-ID:  <Pine.BSF.3.95q.970302114020.18125C-100000@fallout.campusview.indiana.edu>
In-Reply-To: <199703021337.FAA11063@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2 Mar 1997, Satoshi Asami wrote:

>   Add Marc Slemko (marcs@znep.com) for his gopher patch.  While I'm
>   here, add "&gt;" to the end of Marc Ramirez (mrami@mramirez.sy.yale.edu)'s
>   e-mail address.

SGML tip of the day...

The way SGML parsing works, a &gt; should never actually be
needed as a replacement for >, as it will only be recognized as a
tag delimiter while reading something that has already been
identified as a tag.  Similarly, a < only needs to be replaced by
a &lt; if immediately followed by a !, /, or [a-zA-Z].  (And &
only needs to be escaped as &amp if followed by [a-zA-Z].)

However, when writing HTML for direct consumption by typical
browsers, it is pretty important to use &lt;, &gt; and &amp; 
because browsers rarely, if ever, follow SGML parsing rules.  :(

(And it never hurts to use &lt;, &gt; and &amp; in the handbook.) 

-john




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970302114020.18125C-100000>