We are using JTidy to clean up some html for sax processing. We've had a lot of trouble around spacing issues as shown in this example:
Html
<i>stack<span
class="bold">overflow</span></i>
which outputs "stackoverflow"
But...
Post JTidy
<i>stack
<span
class="bold">overflow</span></i>
which outputs "stack overflow" (note the new space)
Anyone have any advice to fix/handle this better. I've been through all the Tidy/JTidy settings and don't see anything to account for this issue.