aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/renderers
diff options
context:
space:
mode:
authorPaweł Marks <pmarks@virtuslab.com>2020-03-31 16:47:41 +0200
committerPaweł Marks <pmarks@virtuslab.com>2020-03-31 16:47:41 +0200
commit074908b3e51e23fdc21232168e3b09f136592776 (patch)
treeca273eea48995603af8f8a1ddd8a706a6ab04b52 /plugins/base/src/main/kotlin/renderers
parent940988c55f4bd0af58c26762b021409191a5e4d3 (diff)
downloaddokka-074908b3e51e23fdc21232168e3b09f136592776.tar.gz
dokka-074908b3e51e23fdc21232168e3b09f136592776.tar.bz2
dokka-074908b3e51e23fdc21232168e3b09f136592776.zip
Fix platform name being the same as module name
Diffstat (limited to 'plugins/base/src/main/kotlin/renderers')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt4
1 files changed, 3 insertions, 1 deletions
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 }
+ }
}
}