diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/kotlin/parsers/MarkdownParser.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/main/kotlin/parsers/MarkdownParser.kt b/core/src/main/kotlin/parsers/MarkdownParser.kt index 782a6504..b567bbe7 100644 --- a/core/src/main/kotlin/parsers/MarkdownParser.kt +++ b/core/src/main/kotlin/parsers/MarkdownParser.kt @@ -366,7 +366,8 @@ class MarkdownParser( it.getSubjectName().orEmpty(), parseStringToDocNode("[${it.getSubjectName()}]") .let { - if(it is DocumentationLink) it.dri + val link = it.children[0] + if(link is DocumentationLink) link.dri else null } ) |