diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2020-05-19 11:02:11 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-05-19 12:48:11 +0200 |
commit | e9d7fc75b46bb44f2c946b8cbb0636deb71e20dc (patch) | |
tree | 97e5e047b103643b11dc1a8bf1e3ceadccac393b /plugins/base/src/main/kotlin/renderers | |
parent | 9d52a559b3f4200e793b94d4fc33f4adf501c0d5 (diff) | |
download | dokka-e9d7fc75b46bb44f2c946b8cbb0636deb71e20dc.tar.gz dokka-e9d7fc75b46bb44f2c946b8cbb0636deb71e20dc.tar.bz2 dokka-e9d7fc75b46bb44f2c946b8cbb0636deb71e20dc.zip |
Fix params rendering in table
Diffstat (limited to 'plugins/base/src/main/kotlin/renderers')
-rw-r--r-- | plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt index d61c50b5..dd293e54 100644 --- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt @@ -196,9 +196,14 @@ open class HtmlRenderer( it.filter { it !is ContentLink }.takeIf { it.isNotEmpty() }?.let { div("platform-dependent-row keyValue") { - div() + val title = it.filter { it.style.contains(ContentStyle.RowTitle) } + div { + title.forEach { + it.build(this, pageContext, sourceSetRestriction) + } + } div("title") { - it.forEach { + (it - title).forEach { it.build(this, pageContext, sourceSetRestriction) } } |