Java HTML Sanitize sanitizeQuot(String html)

Here you can find the source of sanitizeQuot(String html)

Description

sanitize Quot

License

Apache License

Declaration

public static String sanitizeQuot(String html) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String sanitizeQuot(String html) {
        if (html == null || html.isEmpty()) {
            return html;
        }/* w ww . j  a  va2  s. c  o m*/
        return html.replace("\"", """);
    }
}

Related

  1. sanitize(String html)
  2. sanitizeForHtmlTag(String string)