public interface HtmlSanitizer
Modifier and Type | Method and Description |
---|---|
SafeHtml |
sanitize(java.lang.String html)
Sanitizes a string into
SafeHtml . |
SafeHtml sanitize(java.lang.String html)
SafeHtml
.html
- String containing untrusted HTML.html
, sanitized according to the
policy implemented by this sanitizer.