The text is received from a Json is like this:
This is sentence 1. This is <b>sentence 2</b>.
I don't know how to detect that empty space in java/Android.
I want to replace the new lines from the Json with <br/> because I'm trying to find a workaround to this problem: Android, format text from Json to HTML removes new lines and white spaces