diff options
author | Paweł Marks <pmarks@virtuslab.com> | 2020-03-31 10:03:57 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-03-31 16:02:09 +0200 |
commit | 05dcb36c2f46bda9a34a8cd4df8bbfd4d188c952 (patch) | |
tree | fa15b2115270e666804f306c27dd06efe8067e58 /plugins/base/src/main/kotlin/renderers | |
parent | 6fec129cc61bd2a54f9d1111057c650430426013 (diff) | |
download | dokka-05dcb36c2f46bda9a34a8cd4df8bbfd4d188c952.tar.gz dokka-05dcb36c2f46bda9a34a8cd4df8bbfd4d188c952.tar.bz2 dokka-05dcb36c2f46bda9a34a8cd4df8bbfd4d188c952.zip |
Make renderer respect platform restriction for table rows
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 19b0f26f..2214cda6 100644 --- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt @@ -143,7 +143,7 @@ open class HtmlRenderer( pageContext: ContentPage, platformRestriction: PlatformData? ) { - node.children.forEach { + node.children.filter { platformRestriction == null || platformRestriction in it.platforms }.forEach { tr { it.children.forEach { td { |