diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Java/JavaDocumentationBuilder.kt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Java/JavaDocumentationBuilder.kt b/src/Java/JavaDocumentationBuilder.kt index c37e720b..1a28de47 100644 --- a/src/Java/JavaDocumentationBuilder.kt +++ b/src/Java/JavaDocumentationBuilder.kt @@ -38,11 +38,8 @@ public class JavaDocumentationBuilder(private val options: DocumentationOptions, val subjectName = tag.getSubjectName() val section = result.addSection(javadocSectionDisplayName(tag.getName()), subjectName) - tag.getDataElements().forEach { - if (it !is PsiDocTagValue || tag.getSubjectName() == null) { - section.append(ContentText(it.getText())) - } - } + section.convertJavadocElements( + tag.getDataElements().filter { it !is PsiDocTagValue || tag.getSubjectName() == null }) } } } |