I setText for an EditText this way:
editText.setText(Html.fromHtml("<p><a href='#'>Cadbury</a> is my fav chocolate</p>");
problem is, this line inserts two additional breakpoints on the EditText
when i get the value using Html.toHtml(editText.getText())
the result is:
"<p><a href='#'>Cadbury</a> is my fav chocolate</p>\n\n"
I dont want the trailing \n's, how do i remove them?