aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Formats/StructuredFormatService.kt2
-rw-r--r--src/Model/Content.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Formats/StructuredFormatService.kt b/src/Formats/StructuredFormatService.kt
index a90c60b1..1c2e5338 100644
--- a/src/Formats/StructuredFormatService.kt
+++ b/src/Formats/StructuredFormatService.kt
@@ -139,7 +139,7 @@ public abstract class StructuredFormatService(locationService: LocationService,
fun appendDescription(location: Location, to: StringBuilder, node: DocumentationNode) {
if (node.content.description != ContentEmpty) {
- appendHeader(to, "Description", 3)
+ appendHeader(to, ContentTags.Description, 3)
appendLine(to, formatText(location, node.content.description))
appendLine(to)
}
diff --git a/src/Model/Content.kt b/src/Model/Content.kt
index cd387b61..0bb78454 100644
--- a/src/Model/Content.kt
+++ b/src/Model/Content.kt
@@ -150,7 +150,7 @@ public open class MutableContent() : Content() {
if (descriptionNodes.isEmpty()) {
ContentEmpty
} else {
- val result = ContentSection("Description", null)
+ val result = ContentSection(ContentTags.Description, null)
result.children.addAll(descriptionNodes)
result
}