public class PRHtmlFilter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static com.google.common.base.Function<org.owasp.html.HtmlStreamEventReceiver,org.owasp.html.HtmlSanitizer.Policy> |
POLICY_DEFINITION |
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
filter(java.lang.String html) |
static java.lang.String |
toPrintableRepresentation(java.lang.String source)
convert any funny characters into totally legible representation
(based on a stack overflow post)
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String VERSION
public static final com.google.common.base.Function<org.owasp.html.HtmlStreamEventReceiver,org.owasp.html.HtmlSanitizer.Policy> POLICY_DEFINITION
public static java.lang.String filter(java.lang.String html)
public static java.lang.String toPrintableRepresentation(java.lang.String source)
source
- possibly contains odd charactersCopyright © 2014 Pegasystems Inc. All Rights Reserved.