aboutsummaryrefslogtreecommitdiff
path: root/src/Formats
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-01-12 13:25:58 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-01-12 13:25:58 +0100
commitc5fc45ce7d8f83042420fa992aa9fc23efb0f555 (patch)
tree657ad57eae066345db08c5007336249f497d4ffe /src/Formats
parente17eaa5fbc296bab0f32e8169d50fea06a6de581 (diff)
downloaddokka-c5fc45ce7d8f83042420fa992aa9fc23efb0f555.tar.gz
dokka-c5fc45ce7d8f83042420fa992aa9fc23efb0f555.tar.bz2
dokka-c5fc45ce7d8f83042420fa992aa9fc23efb0f555.zip
code review
Diffstat (limited to 'src/Formats')
-rw-r--r--src/Formats/StructuredFormatService.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Formats/StructuredFormatService.kt b/src/Formats/StructuredFormatService.kt
index 51222ffb..0301543c 100644
--- a/src/Formats/StructuredFormatService.kt
+++ b/src/Formats/StructuredFormatService.kt
@@ -1,7 +1,6 @@
package org.jetbrains.dokka
import java.util.LinkedHashMap
-import com.intellij.openapi.util.text.StringUtil
public data class FormatLink(val text: String, val location: Location)
@@ -125,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(StringUtil.unquoteString(deprecationValue.name)))
+ appendLine(to, formatText(deprecationValue.name.substring(0, deprecationValue.name.length()-1)))
} else {
appendLine(to, formatStrong("Deprecated"))
}