diff options
| author | Filip Zybała <fzybala@virtuslab.com> | 2020-03-19 16:04:55 +0100 |
|---|---|---|
| committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-03-26 12:36:03 +0100 |
| commit | 8ef04b5d6bb46a5fbd9cea9b8d08048bc9f03879 (patch) | |
| tree | 4ff4eb6bdb9404e8e64808f8de33a197831e0fda /plugins/base/src/main/kotlin/renderers | |
| parent | 3aab04fa61e38acec0029553fb0704d65cd11465 (diff) | |
| download | dokka-8ef04b5d6bb46a5fbd9cea9b8d08048bc9f03879.tar.gz dokka-8ef04b5d6bb46a5fbd9cea9b8d08048bc9f03879.tar.bz2 dokka-8ef04b5d6bb46a5fbd9cea9b8d08048bc9f03879.zip | |
Fixed expected-actual merging. Refactored contentForComments.
Diffstat (limited to 'plugins/base/src/main/kotlin/renderers')
| -rw-r--r-- | plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 2 |
1 files changed, 1 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 7f953c57..f38d68dd 100644 --- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt @@ -46,7 +46,7 @@ open class HtmlRenderer( consumer.onTagContentUnsafe { +distinct.keys.single() } else distinct.forEach { text, platforms -> - consumer.onTagContentUnsafe { +platforms.joinToString(prefix = "$text [", postfix = "]") { it.name } } + consumer.onTagContentUnsafe { +platforms.joinToString(prefix = " [", postfix = "] $text") { it.platformType.key } } } } |
