Android 接口中含有" "不能正常显示

1             String content = mAdvice.getContent();
2             if (content != null) {
3                 if (content.contains("\n")) {
4                     content = content.replace("\n", "
");
5                 }
6                 tvContent.setText(content);
7             } else {
8                 tvContent.setText("");
9             }
原文地址:https://www.cnblogs.com/jinglecode/p/6721491.html