aboutsummaryrefslogtreecommitdiff
path: root/core/src/main
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2019-11-28 13:48:10 +0100
committerKamil Doległo <kamilok1965@interia.pl>2019-11-28 13:48:10 +0100
commitfc8905476a87ee36b34a4c15a5bb5271e8adf921 (patch)
tree31f35464112bb7f8d885a16d67f8ec0fd15041db /core/src/main
parent70d51711fd02c76674d4c6fb3069ed38088b2b40 (diff)
downloaddokka-fc8905476a87ee36b34a4c15a5bb5271e8adf921.tar.gz
dokka-fc8905476a87ee36b34a4c15a5bb5271e8adf921.tar.bz2
dokka-fc8905476a87ee36b34a4c15a5bb5271e8adf921.zip
Fix a bug with internal links without extension
Diffstat (limited to 'core/src/main')
-rw-r--r--core/src/main/kotlin/pages/DefaultMarkdownToContentConverter.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/kotlin/pages/DefaultMarkdownToContentConverter.kt b/core/src/main/kotlin/pages/DefaultMarkdownToContentConverter.kt
index 369c1edb..bb8a826d 100644
--- a/core/src/main/kotlin/pages/DefaultMarkdownToContentConverter.kt
+++ b/core/src/main/kotlin/pages/DefaultMarkdownToContentConverter.kt
@@ -102,9 +102,9 @@ class DefaultMarkdownToContentConverter(
?: destinationNode.text
links[destination]?.let { dri ->
listOf(
- ContentResolvedLink(
+ ContentDRILink( // TODO: differentiate between KDoc link and some external link (http://...)
buildChildren(node),
- destination,
+ dri,
DCI(dri, ContentKind.Symbol),
platforms,
styles,