don't replace \n\t\r
This commit is contained in:
parent
15316e6a7f
commit
add8e2cb74
|
@ -7,7 +7,7 @@ public class XmlHelper {
|
||||||
content = content.replace(">", ">");
|
content = content.replace(">", ">");
|
||||||
content = content.replace("\"", """);
|
content = content.replace("\"", """);
|
||||||
content = content.replace("'", "'");
|
content = content.replace("'", "'");
|
||||||
content = content.replaceAll("\\p{Cc}", "");
|
content = content.replaceAll("\\p{Cc}&&[^\n\r\t]", "");
|
||||||
return content;
|
return content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue