Modifier and Type | Field and Description |
---|---|
static CssSchema |
CssSchema.DEFAULT
A schema that includes only those properties on the default schema
white-list.
|
Modifier and Type | Method and Description |
---|---|
static CssSchema |
CssSchema.union(CssSchema... cssSchemas)
A schema that represents the union of the input schemas.
|
static CssSchema |
CssSchema.withProperties(Iterable<? extends String> propertyNames)
A schema that includes all and only the named properties.
|
Modifier and Type | Method and Description |
---|---|
HtmlPolicyBuilder |
HtmlPolicyBuilder.allowStyling(CssSchema whitelist)
Convert
style="<CSS>" to sanitized CSS which allows
color, font-size, type-face, and other styling using the given schema. |
static CssSchema |
CssSchema.union(CssSchema... cssSchemas)
A schema that represents the union of the input schemas.
|
Copyright © 2017 OWASP. All rights reserved.