diff options
Diffstat (limited to 'plugins/base/src/main/kotlin/translators')
-rw-r--r-- | plugins/base/src/main/kotlin/translators/psi/JavadocParser.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/base/src/main/kotlin/translators/psi/JavadocParser.kt b/plugins/base/src/main/kotlin/translators/psi/JavadocParser.kt index 89226821..2e921e83 100644 --- a/plugins/base/src/main/kotlin/translators/psi/JavadocParser.kt +++ b/plugins/base/src/main/kotlin/translators/psi/JavadocParser.kt @@ -158,7 +158,7 @@ class JavadocParser( "strong" -> Strong(children) "i" -> I(children) "em" -> Em(children) - "code" -> Code(children) + "code" -> CodeBlock(children) "pre" -> Pre(children) "ul" -> Ul(children) "ol" -> Ol(children) @@ -196,7 +196,7 @@ class JavadocParser( tag.referenceElement()?.toDocumentationLink(tag.dataElements.firstIsInstanceOrNull<PsiDocToken>()) } "code", "literal" -> { - Code(listOf(Text(tag.text))) + CodeInline(listOf(Text(tag.text))) } else -> Text(tag.text) } |