Modifier and Type | Field | Description |
---|---|---|
static CssSchema |
CssSchema.DEFAULT |
A schema that includes only those properties on the default schema
white-list.
|
Modifier and Type | Method | Description |
---|---|---|
static CssSchema |
CssSchema.union(CssSchema... cssSchemas) |
A schema that represents the union of the input schemas.
|
static CssSchema |
CssSchema.withProperties(java.lang.Iterable<? extends java.lang.String> propertyNames) |
A schema that includes all and only the named properties.
|
static CssSchema |
CssSchema.withProperties(java.util.Map<? extends java.lang.String,? extends CssSchema.Property> properties) |
A schema that includes all and only the named properties.
|
Modifier and Type | Method | 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 © 2019 OWASP. All rights reserved.