diff options
-rw-r--r-- | src/Formats/StructuredFormatService.kt | 2 |
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")) } |