aboutsummaryrefslogtreecommitdiff
path: root/core/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/main')
-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)