From c20d1170254d2251d868dd114c599020d42dbb72 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Thu, 8 Apr 2021 10:07:28 +0200 Subject: Bump kotlinx html to 0.7.3 (#1819) * Bump kotlinx html to 0.7.3 * Update repositories --- plugins/base/src/main/kotlin/renderers/html/Tags.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/base/src/main') diff --git a/plugins/base/src/main/kotlin/renderers/html/Tags.kt b/plugins/base/src/main/kotlin/renderers/html/Tags.kt index 0da16a1a..729fc966 100644 --- a/plugins/base/src/main/kotlin/renderers/html/Tags.kt +++ b/plugins/base/src/main/kotlin/renderers/html/Tags.kt @@ -17,7 +17,7 @@ open class WBR(initialAttributes: Map, consumer: TagConsumer<*>) HTMLTag("wbr", consumer, initialAttributes, namespace = null, inlineTag = true, emptyTag = false), HtmlBlockInlineTag -fun FlowOrPhrasingOrMetaDataContent.templateCommand(data: Command, block: TemplateBlock = {}): Unit = +fun FlowOrMetaDataContent.templateCommand(data: Command, block: TemplateBlock = {}): Unit = (consumer as? ImmediateResolutionTagConsumer)?.processCommand(data, block) ?: TemplateCommand(attributesMapOf("data", toJsonString(data)), consumer).visit(block) -- cgit