From 30925c0b1ee9c7ca50dd2fc62890dd6ff9a28800 Mon Sep 17 00:00:00 2001 From: Paweł Marks Date: Tue, 31 Mar 2020 15:56:31 +0200 Subject: Make parameters no longer platform tagged as they are part of platform hinted description --- plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/base') diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt index 2214cda6..613e5387 100644 --- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt @@ -120,7 +120,7 @@ open class HtmlRenderer( pageContext: ContentPage, platformRestriction: PlatformData? ) { - node.children.forEach { + node.children.filter { platformRestriction == null || platformRestriction in it.platforms }.forEach { tr("platform-tagged") { it.children.forEach { td("content") { -- cgit