RE in <pre>

Arthur van Hoff (Arthur.Vanhoff@eng.sun.com)
Mon, 10 Apr 1995 22:15:53 +0500


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