Class HTMLSanitizer

java.lang.Object
com.logicaldoc.util.html.HTMLSanitizer

public class HTMLSanitizer extends Object
Removes elements from an HTML document that may lead to security problems
Since:
7.6.4
Author:
Marco Meschieri - LogicalDOC
  • Method Details

    • sanitize

      public static String sanitize(String unsafeHtmlContent)
    • sanitizeSimpleText

      public static String sanitizeSimpleText(String unsafeHtmlContent)
    • stripIframes

      public static String stripIframes(String htmlContent)