后台转义英文状态下的特殊符号

前台传递一个字符串到后台,字符串中有英文状态下的“(”,结果后台在接收到数据后“(”变成了“(;”,须要从新转义html 方法以下:code String newStr = HtmlUtils.htmlUnescape(str.replace(" ",""));
相关文章
相关标签/搜索