KorteTemplateConfig

open class KorteTemplateConfig(extraTags: List<KorteTag> = listOf(), extraFilters: List<KorteFilter> = listOf(), extraFunctions: List<KorteFunction> = listOf(), var unknownFilter: KorteFilter = KorteFilter("unknown") { tok.exception("Unknown filter '$name'") }, val autoEscapeMode: KorteAutoEscapeMode = KorteAutoEscapeMode.HTML, val contentTypeProcessor: (content: String, contentType: String?) -> String = { content, _ -> content })

Inheritors

Constructors

Link copied to clipboard
constructor(extraTags: List<KorteTag> = listOf(), extraFilters: List<KorteFilter> = listOf(), extraFunctions: List<KorteFunction> = listOf(), unknownFilter: KorteFilter = KorteFilter("unknown") { tok.exception("Unknown filter '$name'") }, autoEscapeMode: KorteAutoEscapeMode = KorteAutoEscapeMode.HTML, contentTypeProcessor: (content: String, contentType: String?) -> String = { content, _ -> content })

Properties

Link copied to clipboard
Link copied to clipboard
val contentTypeProcessor: (content: String, contentType: String?) -> String
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