aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Formats/StructuredFormatService.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Formats/StructuredFormatService.kt b/src/Formats/StructuredFormatService.kt
index 0301543c..977d81d0 100644
--- a/src/Formats/StructuredFormatService.kt
+++ b/src/Formats/StructuredFormatService.kt
@@ -124,7 +124,7 @@ public abstract class StructuredFormatService(val locationService: LocationServi
val deprecationValue = deprecationParameter?.details(DocumentationNode.Kind.Value)?.firstOrNull()
if (deprecationValue != null) {
to.append(formatStrong("Deprecated: "))
- appendLine(to, formatText(deprecationValue.name.substring(0, deprecationValue.name.length()-1)))
+ appendLine(to, formatText(deprecationValue.name.trim("\"")))
} else {
appendLine(to, formatStrong("Deprecated"))
}