Comment 5 for bug 23304

Revision history for this message
Ben (bugzilla-ubuntu-com-inelegant) wrote :

I can reproduce this with the latest binary from http://tidy.sourceforge.net/ as
well.

A simple test case seems to be:

echo "<p><a href='/'>foo</a> bar</p>" | tidy --quiet yes --show-warnings no
--input-xml yes

This produces:

"<p>
<a href='/'>foo</a>bar</p>"

There are multiple bug reports about whitespace removal/addition in "-xml" mode
on http://sourceforge.net/tracker/?group_id=27659 . For instance:
http://sourceforge.net/tracker/?group_id=27659&atid=390963&func=detail&aid=449348
and
http://sourceforge.net/tracker/?group_id=27659&atid=390963&func=detail&aid=1104229
. I _think_ creating a minimal testcase and reporting it upstream may be a good
next step...