blob: 1287f73f6f76b95be293527732d4b72e7669565f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
package de.thedevstack.conversationsplus.utils;
public class XmlHelper {
public static String encodeEntities(String content) {
content = content.replace("&", "&");
content = content.replace("<", "<");
content = content.replace(">", ">");
content = content.replace("\"", """);
content = content.replace("'", "'");
return content;
}
}
|