don't replace \n\t\r

This commit is contained in:
Daniel Gultsch 2016-06-01 09:04:08 +02:00
parent 15316e6a7f
commit add8e2cb74

View file

@ -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;
} }
} }