From fc8905476a87ee36b34a4c15a5bb5271e8adf921 Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Thu, 28 Nov 2019 13:48:10 +0100 Subject: Fix a bug with internal links without extension --- core/src/main/kotlin/pages/DefaultMarkdownToContentConverter.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/src/main') 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, -- cgit