diff options
author | Filip Zybała <fzybala@virtuslab.com> | 2020-04-22 12:15:59 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-04-30 12:37:10 +0200 |
commit | badb811e6de55c460301ae3f911f3d7c0dc9e39e (patch) | |
tree | 23c02e497d47fd5d75245248064fc30771c15df4 /plugins | |
parent | d41a74c5a5430c152da4f1257343fdbac9181c48 (diff) | |
download | dokka-badb811e6de55c460301ae3f911f3d7c0dc9e39e.tar.gz dokka-badb811e6de55c460301ae3f911f3d7c0dc9e39e.tar.bz2 dokka-badb811e6de55c460301ae3f911f3d7c0dc9e39e.zip |
Bugfix with common name
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(", ")) } } |