diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-26 19:45:36 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-02-26 19:45:36 +0100 |
commit | f7c2f2a40b946538e582719bfd61b73357e9ccb6 (patch) | |
tree | 5611f3083ca36825f75fbf90ed82529991d7e0d9 /src | |
parent | 44cef5ccc67c329ea2184aa00e8dc9eac5ca7f77 (diff) | |
download | dokka-f7c2f2a40b946538e582719bfd61b73357e9ccb6.tar.gz dokka-f7c2f2a40b946538e582719bfd61b73357e9ccb6.tar.bz2 dokka-f7c2f2a40b946538e582719bfd61b73357e9ccb6.zip |
add another blank line after deprecation notice
Diffstat (limited to 'src')
-rw-r--r-- | src/Formats/StructuredFormatService.kt | 2 |
1 files changed, 2 insertions, 0 deletions
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) } } } |