public interface HtmlSanitizerService
Modifier and Type | Method and Description |
---|---|
void |
sanitizeDocument(DocumentModel doc)
Sanitizes a document's fields, depending on the service configuration.
|
String |
sanitizeString(String html,
String info)
Sanitizes a string.
|
void sanitizeDocument(DocumentModel doc)
String sanitizeString(String html, String info)
html
- the string to sanitizeinfo
- additional info logged when something is sanitizedCopyright © 2016 Nuxeo SA. All rights reserved.