Package com.logicaldoc.util.html
Class HTMLSanitizer
java.lang.Object
com.logicaldoc.util.html.HTMLSanitizer
Removes elements from an HTML document that may lead to security problems
- Since:
- 7.6.4
- Author:
- Marco Meschieri - LogicalDOC
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static String
sanitizeSimpleText
(String unsafeHtmlContent) static String
stripIframes
(String htmlContent)
-
Method Details
-
sanitize
-
sanitizeSimpleText
-
stripIframes
-