I've a snippet of HTML <div><p>text1</p></div><div><p>text1</p></div>
I want to make it pretty like this
<div>
<p>text1</p>
</div>
<div>
<p>text1</p>
</div>
What would be most simple way to do it? (I've looked on transform and jsoup) but not sure what would be really smart to use. Thanks!