问题
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(response).toString();
ini gets string with no line breaks instead of them white-spaces. How to keep line-breaks on their places?
Response comes as
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/"><?xml version="1.0" encoding="utf-8"?><Profile>[General]
AutoRecoveryConversion=1
UpdateExistingBootScreen=0
EnableTraditionalBL=1....
and I have to deal with it as is, no change will be provided from server.
回答1:
If &#xD;
replaced in response string with <br/>
output string contains proper line breaks.
来源:https://stackoverflow.com/questions/9121799/html-fromhtml-removes-carriage-returns-xd-n