J2K: fix incorrect join() in doc comment converter

This commit is contained in:
Dmitry Jemerov
2015-03-06 18:27:57 +01:00
parent 4181006e87
commit 4caf77f571
@@ -69,7 +69,7 @@ object DocCommentConverter {
private fun convertInlineDocTag(tag: PsiInlineDocTag) = when(tag.getName()) {
"code", "literal" -> {
val text = tag.getDataElements().map { it.getText() }.join()
val text = tag.getDataElements().map { it.getText() }.join("")
val escaped = StringUtil.escapeXml(text.trimLeading())
if (tag.getName() == "code") "<code>$escaped</code>" else escaped
}