流程手册>符号处理
This commit is contained in:
parent
2733e2ae0e
commit
cd0b51ef72
Binary file not shown.
@ -379,14 +379,9 @@ public class Report1Gener {
|
||||
}else {
|
||||
isNumberAscArray.add("false");
|
||||
}
|
||||
String file_name;
|
||||
if(upfileModel.getFileName().contains("--")){
|
||||
file_name=upfileModel.getFileName().replaceAll("--+|---", "-");
|
||||
}else{
|
||||
file_name=upfileModel.getFileName();
|
||||
}
|
||||
object.put("file_name", file_name);
|
||||
String link = fileName + File.separator + file_name;
|
||||
|
||||
object.put("file_name", upfileModel.getFileName());
|
||||
String link = fileName + File.separator + upfileModel.getFileName();
|
||||
object.put("link", link);
|
||||
fileTable.add(object);
|
||||
fileIndex++;
|
||||
@ -505,7 +500,7 @@ public class Report1Gener {
|
||||
String attrValue = obj.getString("value");
|
||||
if(attrValue.contains("<")||attrValue.contains(">")||attrValue.contains("&")||attrValue.contains("'")||attrValue.contains("\"")) {
|
||||
//attrValue= attrValue.replaceAll("<", "<").replaceAll(">", ">").replaceAll("&", "&").replaceAll("'", "'").replaceAll("\"", """);
|
||||
attrValue= attrValue.replaceAll("<", "小于").replaceAll(">", "").replaceAll("&", "&").replaceAll("'", "'").replaceAll("\"", """);
|
||||
attrValue= attrValue.replaceAll("<", "小于").replaceAll("&", "&").replaceAll("'", "'").replaceAll("\"", """);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user