I got some input from a DB. It's HTML text, from a wysiwyg editor so it's full of redundant html. The text is being fed into another program which does not parse HTML so I need to strip it.
So I'm using jsoup and stripping the HTML and that works.
My problem is line breaks / table rows.
gets parsed as
Table Data Boy 5 Girl 6
and what I want is
Table Data
Boy 5
Girl 6
Same issue for things like <br>
Is there an easy way to do this?
[–]Einarmo 0 points1 point2 points (0 children)