aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Formats/StructuredFormatService.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Formats/StructuredFormatService.kt b/src/Formats/StructuredFormatService.kt
index 2eb298d8..00ec6db4 100644
--- a/src/Formats/StructuredFormatService.kt
+++ b/src/Formats/StructuredFormatService.kt
@@ -155,10 +155,10 @@ public abstract class StructuredFormatService(locationService: LocationService,
val deprecationParameter = deprecation!!.details(DocumentationNode.Kind.Parameter).firstOrNull()
val deprecationValue = deprecationParameter?.details(DocumentationNode.Kind.Value)?.firstOrNull()
if (deprecationValue != null) {
- to.append(formatStrong("Deprecated: "))
+ to.append(formatStrong("Deprecated:")).append(" ")
appendLine(to, formatText(deprecationValue.name.trim("\"")))
} else if (deprecation?.content != Content.Empty) {
- to.append(formatStrong("Deprecated: "))
+ to.append(formatStrong("Deprecated:")).append(" ")
to.append(formatText(location, deprecation!!.content))
} else {
appendLine(to, formatStrong("Deprecated"))