diff options
Diffstat (limited to 'src/Kotlin/DocumentationBuilder.kt')
-rw-r--r-- | src/Kotlin/DocumentationBuilder.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Kotlin/DocumentationBuilder.kt b/src/Kotlin/DocumentationBuilder.kt index ca19c364..1680b407 100644 --- a/src/Kotlin/DocumentationBuilder.kt +++ b/src/Kotlin/DocumentationBuilder.kt @@ -52,7 +52,7 @@ class DocumentationBuilder(val session: ResolveSession, val options: Documentati val tags = kdoc.getTags() tags.forEach { if (it.getName() == "sample") { - content.append(functionBody(descriptor, it.getContent())) + content.append(functionBody(descriptor, it.getSubjectName())) } else { val section = content.addSection(displayName(it.getName()), it.getSubjectName()) val sectionContent = it.getContent() |