Browse Source

HTML过滤器不替换&实体

RuoYi 4 years ago
parent
commit
e4919f1a62

+ 1 - 1
ruoyi-common/src/main/java/com/ruoyi/common/utils/html/HTMLFilter.java

@@ -208,7 +208,7 @@ public final class HTMLFilter
 
         s = processRemoveBlanks(s);
 
-        s = validateEntities(s);
+        // s = validateEntities(s);
 
         return s;
     }