public abstract class HTMLSanitizer extends Object
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Function<org.owasp.html.HtmlStreamEventReceiver,org.owasp.html.HtmlSanitizer.Policy> |
POLICY_DEFINITION
A policy definition that matches the minimal HTML that eXo allows.
|
| Constructor and Description |
|---|
HTMLSanitizer() |
| Modifier and Type | Method and Description |
|---|---|
static String |
sanitize(String html)
This service reads HTML from input forms and writes sanitized content to a
StringBuffer
|
Copyright © 2003–2021 eXo Platform SAS. All rights reserved.