後臺轉義英文狀態下的特殊符號

前臺傳遞一個字符串到後臺,字符串中有英文狀態下的「(」,結果後臺在接收到數據後「(」變成了「(;」,須要從新轉義html 方法以下:code String newStr = HtmlUtils.htmlUnescape(str.replace(" ",""));
相關文章
相關標籤/搜索