[xml] HTMLparser again




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]