Re: Re unterminated HTML (was XSL: xt question)

Subject: Re: Re unterminated HTML (was XSL: xt question)
From: clilley <chris@xxxxxx>
Date: Sun, 27 Sep 1998 19:15:32 +0200
Elliotte Rusty Harold wrote:
> 
> >Re problems with <BR> -- I've been solving this by a global-replace of <BR>
> >with <BR></BR>, taking advantage of the fact that HTML ignores tags (such
> >as /BR) that it doesn't recognize.
> >
> 
> Be careful! I tested this one, and at the very least Netscape 4.0.5 for the
> Mac interprets </BR> as <BR>, that is <BR></BR> places a dobule line break
> instead of a single line break like <BR>. This should probably be
> classified as a bug.

It gets worse - some popular browsers will use the </BR> to close
whatever they consider to be the innermost open element (unlikely to be
BR).

The many and varied bugwards compatibility hacks in current HTML
rendering will only bite you from all directions if you try to "render
to HTML".

--
Chris


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread