aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/main')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt4
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(", "))
}
}