On Tue, Oct 25, 2005 at 01:04:19PM +1000, Michael Day wrote:
> 
> Hi,
> 
> HTMLparser removes space between elements in some situations like this:
> 
>     <p><img src="foo"> <img src="bar"></p>
> 
> so that the output will be like this:
> 
>     <p><img src="foo"><img src="bar"></p>
> 
> However, this does not seem to be correct; at least it is not the way that
> web browsers parse this kind of HTML. (If <span> elements are used instead
> of <img> elements then HTMLparser correctly preserves the space).

  handling of spaces is on a case by case basis, it depends on the 
containing element. yes it is surprizing it gets removed there within a <p>
I would suggest to bugzilla it too.

  thanks,

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to