SanitizerConfig

Type Alias SanitizerConfig 

Source
pub(crate) type SanitizerConfig = SanitizerConfig;

Aliased Type§

pub(crate) struct SanitizerConfig {
    pub attributes: Option<Vec<StringOrSanitizerAttributeNamespace>>,
    pub comments: Option<bool>,
    pub dataAttributes: Option<bool>,
    pub elements: Option<Vec<StringOrSanitizerElementNamespaceWithAttributes>>,
    pub removeAttributes: Option<Vec<StringOrSanitizerAttributeNamespace>>,
    pub removeElements: Option<Vec<StringOrSanitizerElementNamespace>>,
    pub replaceWithChildrenElements: Option<Vec<StringOrSanitizerElementNamespace>>,
}

Fields§

§attributes: Option<Vec<StringOrSanitizerAttributeNamespace>>§comments: Option<bool>§dataAttributes: Option<bool>§elements: Option<Vec<StringOrSanitizerElementNamespaceWithAttributes>>§removeAttributes: Option<Vec<StringOrSanitizerAttributeNamespace>>§removeElements: Option<Vec<StringOrSanitizerElementNamespace>>§replaceWithChildrenElements: Option<Vec<StringOrSanitizerElementNamespace>>