Package com.logicaldoc.util.html
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
-
-
Constructor Summary
Constructors Constructor Description HTMLSanitizer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
sanitize(String unsafeHtmlContent)
static String
sanitizeSimpleText(String unsafeHtmlContent)
static String
stripIframes(String htmlContent)
-