RE in <pre>

Arthur van Hoff (Arthur.Vanhoff@eng.sun.com)
Sat, 8 Apr 1995 14:26:29 -0700


Date: Sat, 8 Apr 1995 14:26:29 -0700
From: Arthur.Vanhoff@eng.sun.com (Arthur van Hoff)
Message-Id: <9504082126.AA11103@acorn.Eng.Sun.COM>
To: www-html@www10.w3.org
Subject: RE in <pre>


Hi,

I'm confused about the correct interpretation of RE (newlines) in
the context of <pre> elements. According to the SGML spec you are
supposed to ignore the first RE in an element as well as the
last RE. However, most WWW browsers don't seem to follow those
rules. For example:

	<pre>
	Some <b>
	bold
	</b> text
	</pre>

Is this equivalent to the following?

	<pre>
	Some <b>bold</b> text
	</pre>

Can someone point me at some information on the correct interpretation
of RE in HTML3 compliant parsers? 

Have fun,

	Arthur van Hoff (avh@eng.sun.com)
	http://java.sun.com/people/avh/
	Sun Microsystems Inc, M/S UPAL02-301,
	100 Hamilton Avenue, Palo Alto CA 94301, USA
	Tel: +1 415 473 7242, Fax: +1 415 473 7104