Update XssUtils.java

This commit is contained in:
ronger 2022-05-26 13:50:56 +08:00 committed by GitHub
parent 60b2d14bfa
commit 7119ab629d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,7 @@ public class XssUtils {
/**
* 滤除content中的危险 HTML 代码, 主要是脚本代码, 滚动字幕代码以及脚本事件处理代码
*
* @param content 需要滤除的字符串
* @return 过滤的结果
*/
@ -100,5 +101,3 @@ public class XssUtils {
}
}