From f1454d7f82b561ba1381df7c1c0b96399d6edb25 Mon Sep 17 00:00:00 2001 From: Hacker <721806280@qq.com> Date: Mon, 18 Jan 2021 11:06:33 +0800 Subject: [PATCH] update ruoyi-common/src/main/java/com/ruoyi/common/utils/html/EscapeUtil.java. --- .../src/main/java/com/ruoyi/common/utils/html/EscapeUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/html/EscapeUtil.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/html/EscapeUtil.java index bf9980a36..7f74ac2fb 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/html/EscapeUtil.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/html/EscapeUtil.java @@ -22,7 +22,7 @@ public class EscapeUtil // special HTML characters TEXT['\''] = "'".toCharArray(); // 单引号 - TEXT['"'] = """.toCharArray(); // 单引号 + TEXT['"'] = """.toCharArray(); // 双引号 TEXT['&'] = "&".toCharArray(); // &符 TEXT['<'] = "<".toCharArray(); // 小于号 TEXT['>'] = ">".toCharArray(); // 大于号