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
val allowAllTags: Boolean = false
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val allowedSchemes: List<String>? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val allowedTags: List<String>? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val nestingLimit: Int? = null
Link copied to clipboard
Link copied to clipboard
val nonTextTags: List<String>? = null
Link copied to clipboard
val parser: JsAny? = null
Link copied to clipboard
Link copied to clipboard
val selfClosing: List<String>? = null
Link copied to clipboard
val transformTags: Map<String, JsAny>? = null