[xml] HTMLparser again
- From: Michael Day <mikeday yeslogic com>
- To: xml gnome org
- Subject: [xml] HTMLparser again
- Date: Tue, 25 Oct 2005 13:04:19 +1000 (EST)
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).
Best regards,
Michael
--
Print XML with Prince!
http://www.princexml.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]