diff options
author | Filip Zybała <fzybala@virtuslab.com> | 2020-04-02 12:54:19 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-04-06 14:23:54 +0200 |
commit | 69b8591126833cf1437611972c7407702a1c986a (patch) | |
tree | f23f92230747ddb27bcc08a812383678a7ba8e9b /core | |
parent | 2b921897aa90216d78e05165d5ce122814ead74c (diff) | |
download | dokka-69b8591126833cf1437611972c7407702a1c986a.tar.gz dokka-69b8591126833cf1437611972c7407702a1c986a.tar.bz2 dokka-69b8591126833cf1437611972c7407702a1c986a.zip |
Modified MarkdownParser to fit new See structure. Fixed minor errors in tests.
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 } ) |