I've tried different way but not working yet.
public String SuEscapeHTML(String text){
    text=text.replaceAll("/&/g", "&");
    // and how to deal with the double quote? text=text.replaceAll("/"/g", """);
    text=text.replaceAll("/'/g", "'");
    text=text.replaceAll("/</g", "<");
    text=text.replaceAll("/>/g", ">");
    text=text.replaceAll("/\\/g", "\");
    System.out.println(text);
    return text;
}
nothing change by using this function.
So How to make it working?