Skip to content Skip to sidebar Skip to footer

Html.fromhtml() Removes Carriage-returns " ", "\n"

As a response I am getting a string which is windows .ini file each pair has in the end this is the carriage-return in Canonical XML. After String ini = Html.fromHtml(re

Solution 1:

If &amp;#xD; replaced in response string with <br/> output string contains proper line breaks.


Post a Comment for "Html.fromhtml() Removes Carriage-returns " ", "\n""