aboutsummaryrefslogtreecommitdiff
path: root/src/Formats/StructuredFormatService.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-02-26 13:20:41 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-02-26 13:20:41 +0100
commit7003ad81924859cbe6fd5974a95295f1f8588290 (patch)
tree2ddcd13b53a138389b7bafddad1d07e60db6c660 /src/Formats/StructuredFormatService.kt
parent51aba138aa426abd37282081e40cb23481eeebea (diff)
downloaddokka-7003ad81924859cbe6fd5974a95295f1f8588290.tar.gz
dokka-7003ad81924859cbe6fd5974a95295f1f8588290.tar.bz2
dokka-7003ad81924859cbe6fd5974a95295f1f8588290.zip
fix formatting of "deprecated" notice in markdown
Diffstat (limited to 'src/Formats/StructuredFormatService.kt')
-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"))