J2K: fix incorrect join() in doc comment converter
This commit is contained in:
@@ -69,7 +69,7 @@ object DocCommentConverter {
|
|||||||
|
|
||||||
private fun convertInlineDocTag(tag: PsiInlineDocTag) = when(tag.getName()) {
|
private fun convertInlineDocTag(tag: PsiInlineDocTag) = when(tag.getName()) {
|
||||||
"code", "literal" -> {
|
"code", "literal" -> {
|
||||||
val text = tag.getDataElements().map { it.getText() }.join()
|
val text = tag.getDataElements().map { it.getText() }.join("")
|
||||||
val escaped = StringUtil.escapeXml(text.trimLeading())
|
val escaped = StringUtil.escapeXml(text.trimLeading())
|
||||||
if (tag.getName() == "code") "<code>$escaped</code>" else escaped
|
if (tag.getName() == "code") "<code>$escaped</code>" else escaped
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user