又修复了一系列 MTA 统计问题
This commit is contained in:
@ -47,6 +47,14 @@ public class StringUtils {
|
||||
return displayName + "(" + description + ")";
|
||||
}
|
||||
|
||||
public static String eliminateHtmlContent(String s) {
|
||||
if (TextUtils.isEmpty(s)) return "";
|
||||
|
||||
s = Html.fromHtml(s).toString();
|
||||
s = s.replace("\n", "");
|
||||
return s;
|
||||
}
|
||||
|
||||
/**
|
||||
* 截取字符串部分长度,超出的以 "..." 代替
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user