From badb811e6de55c460301ae3f911f3d7c0dc9e39e Mon Sep 17 00:00:00 2001 From: Filip ZybaƂa Date: Wed, 22 Apr 2020 12:15:59 +0200 Subject: Bugfix with common name --- plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/base/src/main') diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt index 48f1adb8..fbab248a 100644 --- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt @@ -52,7 +52,7 @@ open class HtmlRenderer( node.platforms.forEach { val targets = it.targets.joinToString(", ") div("platform-tag") { - if( targets == "common" ) classes = classes + "common" + if( targets.equals("common", ignoreCase = true) ) classes = classes + "common" text(it.targets.joinToString(", ")) } } @@ -155,7 +155,7 @@ open class HtmlRenderer( it.platforms.forEach { div(("platform-tag")) { val targets = it.targets.joinToString(", ") - if( targets == "common" ) classes = classes + "common" + if( targets.equals("common", ignoreCase = true) ) classes = classes + "common" text(it.targets.joinToString(", ")) } } -- cgit