From 074908b3e51e23fdc21232168e3b09f136592776 Mon Sep 17 00:00:00 2001 From: Paweł Marks Date: Tue, 31 Mar 2020 16:47:41 +0200 Subject: Fix platform name being the same as module name --- plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt index 613e5387..08bfae1f 100644 --- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt @@ -64,7 +64,9 @@ open class HtmlRenderer( consumer.onTagContentUnsafe { +distinct.keys.single() } else distinct.forEach { text, platforms -> - consumer.onTagContentUnsafe { +platforms.joinToString(prefix = " [", postfix = "] $text") { it.name } } + consumer.onTagContentUnsafe { + +platforms.joinToString(prefix = " [", postfix = "] $text") { it.platformType.key } + } } } -- cgit