On 29 Jun 2001, Hrvoje Niksic wrote:

> Hrvoje Niksic <[EMAIL PROTECTED]> writes:
> 
> > If so, we can make it so that the following all differ:
> > 
> >     <img src=foo/>     # <img src="foo/">
> > 
> >     <img src=foo />    # <img src="foo"></img>
> > 
> >     <img src=foo/ />   # <img src="foo/"></img>
> > 
> > Any opinions?  Advice?  Standards-lawyer-speak?

Henrik says that xhtml probably doesn't require a space before /> to
close the tag.  But just for anecdotal evidence, all of the sites I've
had this problem with do in fact put a space before the /> .  I guess
the requirement of quoting attrs will fix it (assuming it is
followed).

> Anees, are you aware that `html-parse.c' comes with a `main' that
> allows you to test the parser by feeding it HTML on stdin?  Just
> checking.

Yeah, that's how I'm testing it now.  Thanks very much for the patch.

-- Anees

Reply via email to