1、关键字字段特殊字符不转译;2、关键字字段内容可输入多个关键字,根据输入关键字个数,自动判断触发是否表达式是否选中。
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
*/
|
||||
package com.nis.domain.configuration;
|
||||
|
||||
import org.apache.commons.lang3.StringEscapeUtils;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
@@ -129,6 +131,11 @@ public class BaseStringCfg extends BaseCfg<BaseStringCfg> {
|
||||
*/
|
||||
|
||||
public String getCfgKeywords() {
|
||||
cfgKeywords = StringEscapeUtils.unescapeHtml4(cfgKeywords);
|
||||
/*cfgKeywords = cfgKeywords.replace("&", "\\&");
|
||||
cfgKeywords = cfgKeywords.replace(" ", "\\b");
|
||||
cfgKeywords = cfgKeywords.replace("\\", "\\\\");
|
||||
cfgKeywords = cfgKeywords.replace(",", "&");*/
|
||||
return cfgKeywords;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user