Browse Source

漏传

master
vito 8 years ago
parent
commit
538753ab2b
  1. 4
      designer_base/src/com/fr/design/extra/PluginTask.java

4
designer_base/src/com/fr/design/extra/PluginTask.java

@ -77,9 +77,7 @@ public class PluginTask<T> extends Task<T> {
*/ */
private String trimText(String old) { private String trimText(String old) {
if (StringUtils.isNotBlank(old)) { if (StringUtils.isNotBlank(old)) {
String a = old.replaceAll("\n", "").replaceAll("\"", "\\\\\"").replaceAll("\'", "\\\\\'"); return old.replaceAll("\n", "").replaceAll("\"", "\\\\\"").replaceAll("\'", "\\\\\'");
System.out.println(a);
return a;
} }
return StringUtils.EMPTY; return StringUtils.EMPTY;
} }

Loading…
Cancel
Save