From f7c2f2a40b946538e582719bfd61b73357e9ccb6 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Thu, 26 Feb 2015 19:45:36 +0100 Subject: add another blank line after deprecation notice --- src/Formats/StructuredFormatService.kt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Formats') diff --git a/src/Formats/StructuredFormatService.kt b/src/Formats/StructuredFormatService.kt index 8d8341dd..70b2a3c1 100644 --- a/src/Formats/StructuredFormatService.kt +++ b/src/Formats/StructuredFormatService.kt @@ -164,11 +164,13 @@ public abstract class StructuredFormatService(locationService: LocationService, if (deprecationValue != null) { to.append(formatStrong("Deprecated:")).append(" ") appendLine(to, formatText(deprecationValue.name.trim("\""))) + appendLine(to) } else if (deprecation?.content != Content.Empty) { to.append(formatStrong("Deprecated:")).append(" ") to.append(formatText(location, deprecation!!.content)) } else { appendLine(to, formatStrong("Deprecated")) + appendLine(to) } } } -- cgit