diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 4 |
1 files changed, 2 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 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(", ")) } } |