spring boot对输入的字符串进行html转码

可以使用HtmlUtils这个类进行操作。具体的可以参考API,或者点出来看。

原文地址:https://www.cnblogs.com/azhqiang/p/5848330.html