aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/Formats
diff options
context:
space:
mode:
authorSimon Ogorodnik <sem-oro@yandex.ru>2016-11-03 12:50:37 +0300
committerGitHub <noreply@github.com>2016-11-03 12:50:37 +0300
commit21b2fcb46a10acc2afdf94639cd208d15856fdc3 (patch)
tree39a117667b6383f4442a5e8fedeb214c93bd43c5 /core/src/main/kotlin/Formats
parentb64579c6d444a39882ceeef08bdc3eedb584e827 (diff)
downloaddokka-21b2fcb46a10acc2afdf94639cd208d15856fdc3.tar.gz
dokka-21b2fcb46a10acc2afdf94639cd208d15856fdc3.tar.bz2
dokka-21b2fcb46a10acc2afdf94639cd208d15856fdc3.zip
Fix for KT-14076 : empty visible div's (#108)
Fix for KT-14076 : empty visible div's
Diffstat (limited to 'core/src/main/kotlin/Formats')
-rw-r--r--core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt b/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt
index 03cf7fc8..bc9358ac 100644
--- a/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt
+++ b/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt
@@ -52,8 +52,11 @@ class KotlinWebsiteOutputBuilder(to: StringBuilder,
}
override fun appendAsOverloadGroup(to: StringBuilder, block: () -> Unit) {
+ to.append("<div class=\"overload-group\" markdown=\"1\">")
+ ensureParagraph()
block()
- to.append("<div class=\"overload-group\"></div>")
+ ensureParagraph()
+ to.append("</div>")
}
override fun appendLink(href: String, body: () -> Unit) = wrap("<a href=\"$href\">", "</a>", body)