diff options
author | Paweł Marks <pmarks@virtuslab.com> | 2020-03-31 16:47:41 +0200 |
---|---|---|
committer | Paweł Marks <pmarks@virtuslab.com> | 2020-03-31 16:47:41 +0200 |
commit | 074908b3e51e23fdc21232168e3b09f136592776 (patch) | |
tree | ca273eea48995603af8f8a1ddd8a706a6ab04b52 /plugins | |
parent | 940988c55f4bd0af58c26762b021409191a5e4d3 (diff) | |
download | dokka-074908b3e51e23fdc21232168e3b09f136592776.tar.gz dokka-074908b3e51e23fdc21232168e3b09f136592776.tar.bz2 dokka-074908b3e51e23fdc21232168e3b09f136592776.zip |
Fix platform name being the same as module name
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 4 |
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 } + } } } |