SanitizeHtmlOptions
data class SanitizeHtmlOptions(val allowedTags: List<String>? = null, val allowAllTags: Boolean = false, val allowedAttributes: Map<String, List<String>>? = null, val allowAllAttributes: Boolean = false, val nonBooleanAttributes: List<String>? = null, val disallowedTagsMode: DisallowedTagsMode? = null, val selfClosing: List<String>? = null, val allowedSchemes: List<String>? = null, val allowedSchemesByTag: Map<String, List<String>>? = null, val allowedSchemesAppliedToAttributes: List<String>? = null, val allowProtocolRelative: Boolean? = null, val enforceHtmlBoundary: Boolean? = null, val parseStyleAttributes: Boolean? = null, val parser: JsAny? = null, val allowedClasses: Map<String, List<String>>? = null, val allowedStyles: Map<String, Map<String, RegExp>>? = null, val transformTags: Map<String, JsAny>? = null, val nonTextTags: List<String>? = null, val nestingLimit: Int? = null)
Sanitize HTML options.
Constructors
Link copied to clipboard
constructor(allowedTags: List<String>? = null, allowAllTags: Boolean = false, allowedAttributes: Map<String, List<String>>? = null, allowAllAttributes: Boolean = false, nonBooleanAttributes: List<String>? = null, disallowedTagsMode: DisallowedTagsMode? = null, selfClosing: List<String>? = null, allowedSchemes: List<String>? = null, allowedSchemesByTag: Map<String, List<String>>? = null, allowedSchemesAppliedToAttributes: List<String>? = null, allowProtocolRelative: Boolean? = null, enforceHtmlBoundary: Boolean? = null, parseStyleAttributes: Boolean? = null, parser: JsAny? = null, allowedClasses: Map<String, List<String>>? = null, allowedStyles: Map<String, Map<String, RegExp>>? = null, transformTags: Map<String, JsAny>? = null, nonTextTags: List<String>? = null, nestingLimit: Int? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard