diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2020-03-13 12:08:29 +0100 |
---|---|---|
committer | Paweł Marks <pmarks@virtuslab.com> | 2020-03-17 16:31:44 +0100 |
commit | 0b6b990d286e22bd86aef3a7e73fbfb38ffa04ef (patch) | |
tree | 0dd378bddc635d2fae2a1f91839235a144f530fe /plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | |
parent | a01554561ca8d18a1cf3c94df47e4b38fae1c538 (diff) | |
download | dokka-0b6b990d286e22bd86aef3a7e73fbfb38ffa04ef.tar.gz dokka-0b6b990d286e22bd86aef3a7e73fbfb38ffa04ef.tar.bz2 dokka-0b6b990d286e22bd86aef3a7e73fbfb38ffa04ef.zip |
Add a rough draft of deprecated signatures formatting
Diffstat (limited to 'plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt')
-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 34dac9f4..57915134 100644 --- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt @@ -28,7 +28,7 @@ open class HtmlRenderer( pageContext: ContentPage, childrenCallback: FlowContent.() -> Unit ) { - val additionalClasses = node.style.joinToString { it.toString().toLowerCase() } + val additionalClasses = node.style.joinToString(" ") { it.toString().toLowerCase() } return when { node.dci.kind == ContentKind.Symbol -> div("symbol $additionalClasses") { childrenCallback() } node.dci.kind == ContentKind.BriefComment -> div("brief $additionalClasses") { childrenCallback() } |